Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/pages/tools/dev-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,16 @@ authentication will be supported in future.
<Step>
<StepTitle>Connect to the dev server</StepTitle>
<StepContent>
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";
Expand Down
Loading