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 magic links
The sandbox account can also be connected via a magic link. After generating a magic link 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 the Magic link integration cookbook for instructions on generating and embedding magic links.