Generate an access token
Saturn needs an access token to authenticate at the API of the host and push changes to repositories.
The following guides describe how to create an access token for the supported hosts.
Bitbucket¶
- Create a new account for the bot user or use an existing account.
- Add a new API token at https://id.atlassian.com/manage-profile/security/api-tokens.
- Create the API token with the following scopes:
read:user:bitbucketread:repository:bitbucketread:pullrequest:bitbucketread:workspace:bitbucketwrite:repository:bitbucketwrite:pullrequest:bitbucket
- Set
bitbucketTokento the API token. SetbitbucketUsernameto the e-mail address of the account.
Forgejo¶
- Create an access token at
https://<forgejo instance>/user/settings/applications. - Create the token with the scopes
write:issue,write:repositoryandread:user. - Set
forgejoTokento the new token.
GitHub¶
- Create a Personal Access Token.
- Create the token with scopes
repoanduser:email. - Configure
githubToken.
GitLab¶
- Depending on your use case, follow Create a personal access token or Create a group access token.
- Create the token with scopes
apiandwrite_repository. - Configure
gitlabToken.