> ## 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 Flagsmith connector

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

C1 provides identity governance for Flagsmith. Integrate your Flagsmith
organisation 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 syncs the members of a single Flagsmith organisation as user
identities. Each user carries their organisation membership role — **Admin** or
**User** — so you can see who holds administrative access to the organisation.

## Gather Flagsmith credentials

<Warning>
  You need an **Organisation API key**. It grants management access to every
  project in the organisation, so treat it as a secret.
</Warning>

<Steps>
  <Step>
    Sign in to Flagsmith as a member of the organisation you want to sync.
  </Step>

  <Step>
    Click the organisation name in the top navigation, open the **API Keys**
    tab, and select **Create API Key**. Give the key a descriptive name and
    copy the generated token — you will not be able to see it again.
  </Step>

  <Step>
    Note your organisation's numeric ID. It appears in the dashboard URL after
    you select an organisation (for example,
    `https://app.flagsmith.com/organisation/12345/projects` → `12345`).
  </Step>
</Steps>

## Configure the Flagsmith 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 **Flagsmith** and click **Add**.
      </Step>

      <Step>
        Choose how to set up the new Flagsmith 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 Flagsmith credentials:

        * **Organisation ID**: The numeric ID of the organisation to sync, such as `12345`.
        * **API key**: The Organisation API key you created.
        * **Base URL**: Leave blank to use Flagsmith cloud. If you run a self-hosted Flagsmith, enter your own API origin, such as `https://flagsmith.example.com/api`, with no trailing slash.
      </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 Flagsmith connector is now pulling access data into C1.
  </Tab>

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

    <Steps>
      <Step>
        Create secrets for the Flagsmith credentials.
      </Step>

      <Step>
        Configure the connector environment variables:

        * **BATON\_FLAGSMITH\_ORGANISATION\_ID**: The numeric ID of the organisation to sync.
        * **BATON\_FLAGSMITH\_API\_KEY**: The Organisation API key (store this as a secret).
        * **BATON\_FLAGSMITH\_BASE\_URL**: Optional. Leave unset for Flagsmith cloud, or set it to your self-hosted API origin (for example `https://flagsmith.example.com/api`).
      </Step>

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

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