---
title: Cloudflare
seo:
  title: "Connect your Cloudflare account"
description: Connect the Cloudflare account that your workspace deploys to. Conic uses Cloudflare sign-in, so you do not paste an API token.
---

Each workspace deploys to one Cloudflare account. You connect this account when you create the workspace.

<Illustration name="cloudflare" />

## Connect your account

1. **Start the connection**

    Sign in to Conic. On{" "}
    <AppLink to="/new-workspace">Create a workspace</AppLink>, click **Connect
    Cloudflare**.

2. **Give access**

    Sign in to Cloudflare. Read the permissions that Conic asks for, then accept
    them.

3. **Select the account**

    If you have access to more than one Cloudflare account, select the account
    to deploy to. Conic then creates the workspace.

:::warning
You cannot change the Cloudflare account of a workspace later. A Cloudflare account can also belong to one workspace only. If you see **Already used by a workspace**, open that workspace, or select a different account.
:::

## What Conic does in your account

Conic makes changes in your Cloudflare account only for your projects:

- It deploys the production Worker and the preview Worker of each project.
- It creates the KV namespaces, D1 databases, R2 buckets and other resources that you create from Conic.
- It sets your environment variables as secrets on your Workers.
- It adds your custom domains, and their DNS records and Worker routes.
- It reads the logs of your production Workers.

All of these stay in your account if you stop using Conic.

## Reconnect Cloudflare

The Cloudflare connection can expire, or Cloudflare access can change. Then the Cloudflare card in **Settings > Integrations** shows **Reconnect needed**, and new deployments wait.

<Illustration
  name="cloudflare-settings"
  app="/dashboard/settings/integrations"
  appLabel="Settings > Integrations"
/>

An owner or admin must reconnect Cloudflare. Open <AppLink to="/dashboard/settings/integrations">Settings > Integrations</AppLink> and click **Reconnect** on the Cloudflare card. Then sign in to Cloudflare and accept the permissions again. The workspace keeps its Cloudflare account.

Some features need a permission that older connections do not have. For example, domains that keep their DNS provider need the **SSL and Certificates** permission. Conic tells you when to reconnect for this reason.
