# JavaScript configuration

`Talaria.init` takes a publishable `apiKey`, optional `release`, and optional `minLevel`. Leave `url` unset on Talaria Cloud; the SDK sends to `https://ingest-<cell>.newtalaria.com` from the key.

Remote config (`GET /v1/sdk-config`) applies project policy for tracing, analytics, replay, and sample rates. Do not pass `environment` in init.

Requests use `Authorization: Bearer`. A disabled client (bad key, wrong kind) is a no-op — see [fail-safe](https://docs.newtalaria.com/get-started/fail-safe.md).

Related: [JavaScript](https://docs.newtalaria.com/sdk/javascript.md), [Next.js source maps](https://docs.newtalaria.com/sdk/javascript/nextjs.md).
