Search the docs

↑↓ to move · Enter to open · Esc to close

Type to search every page. Results are grouped by section.

TalariaDocs
Dashboard

Docs › SDKs

View as Markdown

Next.js configuration

Client and server init, withTalariaConfig, and environment variables.

  • Browser: initClient in instrumentation-client.ts with NEXT_PUBLIC_TALARIA_BROWSER_API_KEY (tal_pk_… only).
  • Server: initServer in a file imported only from the Node register() branch, with TALARIA_API_KEY (tal_sk_…).
  • withTalariaConfig wraps next.config. It tags the release and can upload maps when TALARIA_RELEASE_KEY is set.
  • Leave TALARIA_URL / NEXT_PUBLIC_TALARIA_URL unset on Talaria Cloud.

See the Next.js hub.

Was this helpful?