> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ravenna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Access provisioning

> Map Ravenna access levels on GitHub repositories to GitHub teams so approved access requests add people to the team and remove them on revoke or expiry.

Connect GitHub Access and map access levels on a repository to a GitHub team that has access to it. GitHub grants repository access through teams, so GitHub supports group-based provisioning only. Repositories import automatically.

**1. Connect GitHub Access**

Follow [Setup](https://docs.ravenna.ai/integrations/github/setup.md). Repositories, members, and teams begin syncing.

**2. Map access levels**

On the repository in **Settings > Applications**, create an access level and select a synced team that has access to the repository.

**3. Set the provisioning method**

Choose **Group**. After approval, Ravenna adds the person the access is for to the team as a member. On revoke or expiry, Ravenna removes them from the team. No workflow is required.

> [accordion] Who can be added to a team
>
> The person needs a GitHub account that sync linked to their Ravenna user, and an active membership in the GitHub organization. Invite new people with the **Invite Member** [action](https://docs.ravenna.ai/integrations/github/workflows.md) or [tool](https://docs.ravenna.ai/integrations/github/agent-tools.md) first. If GitHub still shows the team membership as pending, the person gets the team's access once they accept the invitation.

> [accordion] People linked to several GitHub accounts
>
> Ravenna changes nothing and asks you to make the change in GitHub directly.

> [accordion] Removing access
>
> Removal takes away a direct or pending team membership. Access someone holds only through a child team stays.

Learn more about [provisioning methods](https://docs.ravenna.ai/documentation/access-management/provisioning.md)


## Related topics

- [Access provisioning](https://docs.ravenna.ai/integrations/cloudflare-access/access-provisioning.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.