> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerorank.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CMS: Contentful, Sanity, and BaseHub

> Connect your content system so workflows can create and publish entries.

A CMS (content management system) is the tool you use to write and store pages on your site. Connect yours to ZeroRank once. After that, your [workflows](/start/glossary) can write new content straight into it.

You can connect Contentful, Sanity, or BaseHub. Pick your tool below.

<Warning>
  Keep your tokens secret. Anyone who has one can change your content. Never share them or post them in public. If a token leaks, delete it in your CMS and connect again.
</Warning>

<Tabs>
  <Tab title="Contentful">
    Contentful connects with one click. You sign in and approve, and you are done. There are no keys to copy.

    <Steps>
      <Step title="Open Integrations">
        In ZeroRank, go to **Integrations** and find **Contentful**.
      </Step>

      <Step title="Click Connect via Contentful">
        Click **Connect via Contentful**. A Contentful window opens.
      </Step>

      <Step title="Approve access">
        Sign in to Contentful if asked. Then click **Approve** to let ZeroRank manage your content. That is it.
      </Step>
    </Steps>

    **What you can do:** workflows can create, update, get, and list entries in your space.
  </Tab>

  <Tab title="Sanity">
    Sanity uses two values you copy and paste: an API token and a Project ID.

    <Steps>
      <Step title="Create an API token">
        In your Sanity project, open **API** settings and add a new token with write access. Copy it. The token starts with `sk`.
      </Step>

      <Step title="Find your Project ID">
        Your **Project ID** is on your Sanity project dashboard. Copy it too.
      </Step>

      <Step title="Paste both into ZeroRank">
        In ZeroRank, go to **Integrations** and find **Sanity**. Paste the token into **API Token** and the ID into **Project ID**. Click **Connect**.
      </Step>
    </Steps>

    **What you can do:** workflows can create, get, list, update, and publish documents in your project.
  </Tab>

  <Tab title="BaseHub">
    BaseHub uses one value you copy and paste: an Admin Token.

    <Steps>
      <Step title="Create an Admin Token">
        In your BaseHub repository, open **Settings** and find **API Tokens**. Create an **Admin Token** and copy it. The token starts with `bshb_pk_`.
      </Step>

      <Step title="Paste it into ZeroRank">
        In ZeroRank, go to **Integrations** and find **BaseHub**. Paste the token into **Admin Token**. Click **Connect**.
      </Step>
    </Steps>

    **What you can do:** workflows can create, list, and get posts in your repository.
  </Tab>
</Tabs>

## What happens after you connect

Once your CMS is linked, it shows up as a step you can add to a workflow. For example, a workflow can write an article and then publish it to your CMS without you copying anything by hand.

Need help? Email [support@zerorank.ai](mailto:support@zerorank.ai).

## Next steps

<CardGroup cols={2}>
  <Card title="Build a workflow" icon="workflow" href="/workflows/build-a-workflow">
    Put your CMS to work with an automated content step.
  </Card>

  <Card title="See all integrations" icon="plug" href="/integrations/overview">
    Connect WordPress, Slack, and other tools too.
  </Card>
</CardGroup>
