To help your team get familiar with the API and data models, Nectar provides a sandboxed utility account that generates mock data on connection. The examples below use v2.2, which is recommended for all new integrations.Documentation Index
Fetch the complete documentation index at: https://docs.nectarclimate.com/llms.txt
Use this file to discover all available pages before exploring further.
Sandbox credentials
Use the following credentials when creating a sandbox connection. Any other username/password combination will result in anINCORRECT_PASSWORD status.
| Field | Value |
|---|---|
| Utility provider URL | https://nectarclimate.com |
| Username | nectar-sandbox-username |
| Password | nectar-sandbox-password |
| Sites | An array of site IDs (at least 1, at most 3) |
| Country | US (or any two-letter country code) |
Create a sandboxed connection
Create a company (if needed)
If you don’t already have a company, create one via the API. You’ll need the company
id for subsequent requests.Create sites
Create at least one site under your company. The site
id is required when creating the connection.Create the sandbox connection
Create a utility connection using the sandbox credentials. Since the sandbox uses basic username/password authentication, it can be connected directly via the API.The response returns the connection
id and validated status. You can look up all connections for a company at any time via GET /company/{companyId}/connection.Using sandbox with invitations
The sandbox account can also be connected via a connection invitation. After creating an invitation through the API, usehttps://nectarclimate.com as the utility provider URL when prompted, then enter the sandbox credentials above.
This is useful for testing the full end-user connection flow in your application. See Connection invitations for instructions on creating and embedding invitations.
Next steps
Connection invitations
Embed Nectar’s connection UI in your app
Webhooks
Get notified when connections and data change
Connection statuses
Understand connection lifecycle states