Before integrating the SDK, you need a public key and partner identifier. These are obtained from Sunny Central, the partner portal where you manage API keys, authentication, and allowed domains.
Sunny Central is the partner portal for configuring your Sunny Agents integration. It provides:
pk-sunnyagents_...) for your apppartnerIdentifier in the SDKSign in to the partner portal:
If you don’t have access, contact your Sunny Health representative.
In Developer Tools → API Keys, create a new public API key. Copy the key value (e.g. pk-sunnyagents_abc_xyz). This is your publicKey for the SDK.
Your partner name is shown in the SDK snippets section of Developer Tools. Use it as partnerIdentifier when calling createSunnyChat:
The auth type you can use depends on your Sunny Central configuration:
https://myapp.com) in Developer Tools → Allowed Domains. Required for passwordless auth.Once you have your credentials:
createSunnyChat