From 61b2f79a3aab9acb6f625ba30fdfe4ec543a546b Mon Sep 17 00:00:00 2001 From: Chris Nicholas Date: Fri, 6 Mar 2026 11:52:49 +0000 Subject: [PATCH] Docs: Mention dev server keys (#3161) --- docs/pages/tools/dev-server.mdx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/pages/tools/dev-server.mdx b/docs/pages/tools/dev-server.mdx index 59f76a5967..c9bda034a4 100644 --- a/docs/pages/tools/dev-server.mdx +++ b/docs/pages/tools/dev-server.mdx @@ -84,13 +84,16 @@ authentication will be supported in future. Connect to the dev server - Point your client and auth endpoint to the dev server. The easiest way to - do this is run the dev server and press `p`. It copies a prompt you can - paste into your AI code editor, which will intelligently make the changes - for you. + Point your client and auth endpoint to the dev server, and update your API + keys. You must use `"sk_localdev"` instead of your secret key and + `"pk_localdev"` instead of your public key. + + The easiest way to do this is to run the dev server and press `p`. It copies + a prompt you can paste into your AI code editor, which will intelligently + make the changes for you. If you don’t use the prompt, you can manually add `baseUrl` and change - your `secret` key: + your API key: ```tsx import { LiveblocksProvider } from "@liveblocks/react";