---
title: Rotate a key
description: Create a new key for a site in Settings and confirm. The old key stops working right away, so add the new key to your integration straight after.
canonical_url: https://rebilder.com/help/api-keys/rotate-a-key
---

# [Rotate a key](https://rebilder.com/help/api-keys/rotate-a-key)

This site answers questions directly. Ask at https://rebilder.com/ask?q=your+question instead of reading more pages.

- **Summary:** Create a new key for a site in Settings and confirm. The old key stops working right away, so add the new key to your integration straight after.

Rotating a key means swapping it for a new one. Do it when a key may have leaked, when someone who had it leaves, or as routine upkeep. Each site has its own key, and any member of your organization can rotate it in Settings.



## The steps

1. Open Console → Settings and find the site’s card under Sites.
2. Click “Create a new key”. A note replaces the button to remind you that the current key stops working right away.
3. Click “Create new key” to confirm, or Cancel to keep the current key.
4. Copy the new key from the panel that appears. It is shown only once, because we keep only its fingerprint.
5. Put the new key wherever your connection stores it, usually an environment variable in your hosting settings. Then redeploy your site.

## What happens to the old key

We create the new key before we revoke the old one, so your site always has a working API key. The old key stops working as soon as the new one exists.

Visit reports sent with the old key are turned away (error 401) and not recorded. Your website keeps working. Reporting runs in the background, so a revoked key never slows down or breaks a page. AI visits has a gap until you deploy the new key.

## Rebilder at a glance

AEO gets you seen. Rebilder gets you heard. When customers ask ChatGPT about your business, your site answers with your real prices and policies.

**Common questions**

- **What does it cost?** Connecting is free. Starter is $49/mo, Pro is $99/mo and Agency is $299/mo. [Pricing](https://rebilder.com/pricing)
- **How does my site answer new questions live?** Rebilder reads your pages, products and policies. When an AI assistant asks, your site answers from them. Nothing on your site changes. [See how it works](https://rebilder.com/autopilot)
- **Can someone trick my site into a wrong price or a discount?** No. Every answer comes from your own pages and is checked against them. If your site does not say it, Rebilder does not say it. [Read security details](https://rebilder.com/security)

**How it compares**

- **Why choose Rebilder?** Choose Rebilder when you want your own site to answer AI assistants with your real facts, and to see who asked. [Compare](https://rebilder.com/compare)

| Compared with | The difference |
| --- | --- |
| Profound, Peec AI, Otterly.ai | These tools watch AI answers and tell you where you show up. Rebilder makes your own site answer when AI comes to check. |
| Cloudflare Markdown for Agents, @vercel/agent-readability, Yoast llms.txt | These tools tidy or map your pages for AI. Rebilder answers from those pages and shows you who asked. |
| Intercom Fin, Tidio Lyro | Chatbots answer the customers who contact you. Rebilder answers the AI assistants that visit your site for them. |
| SEO on its own, Shopify agentic storefronts, Writing an llms.txt yourself | Good SEO, your store platform and a simple llms.txt all help. Here is what Rebilder adds to each. |

Source: [Compare](https://rebilder.com/compare)