Blog ·

Console says "Clerk has been loaded with development keys"? Move your live app to production keys

You built your app with Bolt, Cursor, Replit or another AI tool, and it added Clerk for sign-up and login. Everything works, so you publish it and share the link. But the browser console on your live site says:

"Clerk: Clerk has been loaded with development keys. Development instances have strict usage limits and should not be used when deploying your application to production."

Nothing looks broken yet, so it is easy to ignore. The trouble comes later, when real people try to sign up.

The short answer

Every Clerk application has a development instance and a production instance, each with its own keys. Development keys start with pk_test_ and sk_test_. Production keys start with pk_live_ and sk_live_. AI tools usually set up the development keys, because that is what works on your own computer, and those keys often end up on the live site too.

Clerk's docs list what changes on a development instance, including:

  • A user cap. Development instances are capped at 100 users.
  • No moving users. User data can not be transferred between instances, so people who signed up on the development instance do not carry over to production.
  • Shared Google and other social login credentials. For most social providers, Clerk gives development instances a shared set of credentials. In production you need your own.
  • A development address. The sign-in pages and the Google consent screen show a Clerk development domain ending in accounts.dev instead of your own domain.

So sign-up can work for your first users and then stop once the cap is reached, with no change on your side.

Check which keys your live site uses

  1. Open your live site in a private window and open the browser console (right-click, Inspect, then Console).
  2. Look for the warning. Clerk's own code logs "Clerk has been loaded with development keys" once when it loads on a development instance. If you see it on your live address, your live site uses development keys.
  3. Check where your host stores the keys. In your hosting provider's environment variables, look at the Clerk publishable key and secret key. Values starting with pk_test_ or sk_test_ are development keys.

Move to a production instance

Clerk's guide to deploying to production says you need three things first: a domain you own, the ability to add DNS records on it, and your own OAuth credentials for each social login you offer, such as Google. Clerk's docs also say production keys can not be used on your host's own preview address, such as an address ending in vercel.app, so the live app needs your own domain.

  1. Create the production instance. In the Clerk Dashboard, select Development at the top, then Create production instance. You can clone your development settings or start from Clerk's defaults. Clerk's docs say SSO connections, Integrations and Paths settings do not copy over, so set those again.
  2. Add the DNS records. The Domains page in the Clerk Dashboard lists the records to add for your domain. Clerk's docs say they can take up to 48 hours to fully propagate. If your DNS is on Cloudflare, Clerk's troubleshooting section says to set the Clerk subdomain record to DNS only, not proxied.
  3. Add your own social login credentials. Clerk has a guide for each provider. Set these up before you switch, or Google login can stop working on the live site.
  4. Update your webhooks. If your app uses Clerk webhooks, point them at your live address and use the production instance's signing secret.
  5. Deploy certificates. The Clerk Dashboard home page shows what is still needed. When everything is done, a Deploy certificates button appears. Select it to deploy your production instance.
  6. Swap the keys and redeploy. Put the pk_live_ and sk_live_ keys in your hosting provider's environment variables for production, replacing the pk_test_ and sk_test_ values, then redeploy your app. Clerk's docs say to do both. Keep the development keys for working on your own computer.
  7. Test as a new visitor. In a private window, sign up with a new email address, log in, and try Google login if you offer it. Then check the console warning has gone.

Two things to get right

  • Your test users will not move across. Because user data can not be transferred between instances, anyone who signed up on the development instance needs to sign up again on production. If real people already signed up, tell them before you switch.
  • Keep secret keys out of your code. The sk_live_ key belongs only in your host's environment variables, never in front-end code or in a chat with your AI tool.

Paste this into your AI tool

> My live app shows "Clerk has been loaded with development keys" in the browser console. Please list every place my app reads the Clerk publishable key and secret key, and confirm they come from environment variables, not hard-coded values. Do not put any key values in the code. Tell me which environment variable names my host needs for production so I can add my pk_live_ and sk_live_ keys myself and redeploy. Also list any Clerk webhook endpoints and social login providers my app uses, so I can set them up on the production instance.

Catch it before your users do

A break like this is easy to miss because you are already signed in. Scheduled testing from FlowCanary is launching by 30 November 2026. Once it is live, it will test the flows a new visitor can do in your app, such as sign-up and checkout, in a real browser on a schedule, with logged-in flows on Pro, and tell you in plain English when one breaks, with a fix prompt for Lovable, Bolt, Cursor or Replit. Until then, the free check works today: paste your live URL and it opens the page in a real browser and reports JavaScript errors, failed requests and blank pages.

Run the free checker