Setting up the Integration
Preconfigure your Organization
Ensure that your Code Ocean admin has already configured the Git provider organization from the Admin Dashboard.
Configure Personal Access Token for Code Ocean
In order to establish the API call and complete the integration, follow the steps below. Note that the exact process varies depending on the Git provider, but the objective is to retrieve the token from 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 GitHub Personal Access 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 Github 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