# Create GitHub or GitLab Tokens for Pipeline This guide provides detailed instructions on how to create a GitHub or GitLab token and the permissions required for use in the pipeline. ## Create a GitHub Token 1. Go to GitHub and navigate to **Settings**. 2. Under **Developer settings**, click on **Personal access tokens**. 3. Click **Generate new token**. 4. Select the scopes or permissions you wish to grant this token. 5. Click **Generate token**. Refer to [Managing your personal access tokens on GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens). ## Create a GitLab Token 1. Go to GitLab and navigate to **Settings**. 2. Under **Access Tokens**, provide a name and optional expiry date for the token. 3. Select the scopes or permissions you wish to grant this token. 4. Click **Create personal access token**. Refer to [Personal tokens on GitLab](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html).