# GitHub (Cloud & Enterprise)

**GitHub Cloud (github.com)**

- **Token Type**: Personal Access Token (Classic)
- **Generation Steps**:  
    You can visit this site to quickly generate token  
    [https://github.com/settings/tokens/new?description=roost-token&amp;scopes=repo,admin:repo\_hook,notifications,user](https://github.com/settings/tokens/new?description=roost-token&scopes=repo,admin:repo_hook,notifications,user)  
    OR   
    Follow this steps  
    
    1. Go to GitHub Settings → Developer settings → Personal access tokens  
        [![Screenshot 2025-09-08 at 9.05.49 AM.png](https://docs.roost.ai/uploads/images/gallery/2025-09/scaled-1680-/ECipRdimjsjyapUP-screenshot-2025-09-08-at-9-05-49-am.png)](https://docs.roost.ai/uploads/images/gallery/2025-09/ECipRdimjsjyapUP-screenshot-2025-09-08-at-9-05-49-am.png)  
          
          
        [![Screenshot 2025-09-08 at 9.07.09 AM.png](https://docs.roost.ai/uploads/images/gallery/2025-09/scaled-1680-/wFwGJw1i4IdscDOd-screenshot-2025-09-08-at-9-07-09-am.png)](https://docs.roost.ai/uploads/images/gallery/2025-09/wFwGJw1i4IdscDOd-screenshot-2025-09-08-at-9-07-09-am.png)
    2. Click "Generate new token" → "Generate new token (classic)"
    3. Set expiration and select required scopes
    4. Copy the generated token immediately

**GitHub Enterprise Server**

- **Token Type**: Personal Access Token
- **Generation Steps**: Same as GitHub Cloud but on your enterprise instance
- **Base URL**: Configure your enterprise server URL (e.g., `https://github.yourcompany.com`)

**Required Permissions**:

- `repo` - Full repository access (read/write to code, issues, PRs)
- `admin:repo_hook` - Repository webhook management
- `notification` - Access notifications
- `user` - Update ALL user data