> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-mcp-bridge-private-server.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up a Codecov connector

> C1 provides identity governance for Codecov. Integrate your Codecov organization with C1 for unified visibility and governance over user access.

C1 provides identity governance for Codecov. Integrate your Codecov
organization with C1 for unified visibility and governance over user access.

## Capabilities

| Resource | Sync                                                          | Provision |
| -------- | ------------------------------------------------------------- | --------- |
| Users    | <Icon icon="square-check" iconType="solid" color="#c937ae" /> |           |

The connector reads one Codecov organization — the organization identified
by the git service and owner you configure. It syncs that organization's
members. Each member's profile carries whether they are an admin of the
organization and whether they hold a seat (are activated). Members who hold
a seat sync as enabled users; members on the roster without a seat sync as
disabled, which is useful for offboarding review.

## Gather Codecov credentials

<Warning>
  To read the full member roster, the API token must belong to an admin of
  the organization you are syncing. A non-admin token sees only a partial
  roster.
</Warning>

<Steps>
  <Step>
    Sign in to Codecov as an admin of the organization you want to sync.
  </Step>

  <Step>
    Open **Settings** > **Access** and create a new **API token**. Copy the
    token value.
  </Step>

  <Step>
    Note the git service that hosts the organization — one of GitHub,
    GitLab, Bitbucket, GitHub Enterprise, GitLab Enterprise, or Bitbucket
    Server.
  </Step>

  <Step>
    Note the organization's owner slug on that git service. For a GitHub
    organization this is the organization login.
  </Step>
</Steps>

## Configure the Codecov connector

<Tabs>
  <Tab title="Cloud-hosted">
    Follow these instructions to use a built-in, no-code connector hosted by C1.

    <Steps>
      <Step>
        In C1, navigate to **Integrations** > **Connectors** and click **Add connector**.
      </Step>

      <Step>
        Search for **Codecov** and click **Add**.
      </Step>

      <Step>
        Choose how to set up the new Codecov connector.
      </Step>

      <Step>
        Set the owner for this connector.
      </Step>

      <Step>
        Click **Next**.
      </Step>

      <Step>
        Find the **Settings** area of the page and click **Edit**.
      </Step>

      <Step>
        Enter the Codecov credentials:

        * **Codecov API token**: the API token you created, belonging to an
          admin of the organization.
        * **Git service**: the git service hosting the organization — one of
          `github`, `gitlab`, `bitbucket`, `github_enterprise`,
          `gitlab_enterprise`, or `bitbucket_server`.
        * **Organization**: the organization's owner slug on that git
          service.
      </Step>

      <Step>
        Click **Save**.
      </Step>

      <Step>
        The connector's label changes to **Syncing**, followed by **Connected**. You can view the logs to ensure that information is syncing.
      </Step>
    </Steps>

    **Done.** Your Codecov connector is now pulling access data into C1.
  </Tab>

  <Tab title="Self-hosted">
    Follow these instructions to run the Codecov connector in your own
    environment.

    <Steps>
      <Step>
        Create a secret for the Codecov API token.
      </Step>

      <Step>
        Configure the connector environment variables:

        * **BATON\_CODECOV\_API\_TOKEN**: the API token belonging to an admin
          of the organization.
        * **BATON\_CODECOV\_SERVICE**: the git service hosting the
          organization — one of `github`, `gitlab`, `bitbucket`,
          `github_enterprise`, `gitlab_enterprise`, or `bitbucket_server`.
        * **BATON\_CODECOV\_OWNER**: the organization's owner slug on that git
          service.
      </Step>

      <Step>
        Deploy the connector using your standard self-hosted connector process.
      </Step>
    </Steps>

    **Done.** Your Codecov connector is now pulling access data into C1.
  </Tab>
</Tabs>
