Setting up the Integration
Preconfigure your Organization
Ensure that the VPC admin preconfigured the organization of the Git provider with Code Ocean.
Configure Personal Access Token for Code Ocean
In order to establish the API call and complete the integration, follow the steps. Note that it might depend on the Git provider, the objective is to retrieve the token on the Git provider and add the token to your Code Ocean account.
Generate a personal access token (PAT) in your Git provider's account.
Creating a token
In the upper-right corner of the page, click your profile photo, then click Settings.
In the left sidebar, click Developer settings.
In the left sidebar, click Personal access tokens.
Click Generate new token.
Fill out the form and check the repo box for the scope.
For more information about how to generate a PAT, read this article from GitHub.
Save the PAT in Code Ocean under your account page.
Click the Account icon
From the Credentials screen click +Add Credentials
Click <Git provider> Credentials
Enter your Git provider's username and PAT.
Last updated