--- metaLinks: alternates: - >- https://app.gitbook.com/s/j6QEqM3Sd94bdPsX4HaN/admin/settings/credentials/git --- # Add Git credentials Git credentials added here will be usable by any admin-level user, though they will not be able to view the actual credentials directly. ## Adding your credentials To add your Git credentials, from the [Shared credentials](https://docs.portainer.io/admin/settings/credentials) page click **Add credentials**, then select the **Git** option. Select either **Basic** or **Token** authorization depending on what your Git repository requires. For example, GitHub uses Basic authorization and Bitbucket uses Token authorization. Then supply a name for your shared credentials, your Git username, and your personal access token.
Once you've entered the relevant details, click **Add credentials** to save the entry.