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

  1. In the upper-right corner of the page, click your profile photo, then click Settings.

  2. In the left sidebar, click Developer settings.

  3. In the left sidebar, click Personal access tokens.

  4. Click Generate new token.

  5. 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.

  1. Click the Account icon

  2. From the Credentials screen click +Add Credentials

  3. Click <Git provider> Credentials

  4. Enter your Git provider's username and PAT.

Last updated