Sandbox credentials
Use the following credentials when creating a sandbox connection. Any other username/password combination will result in anINCORRECT_PASSWORD status.
Create a sandboxed connection
1
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.2
Create sites
Create at least one site under your company. The site
id is required when creating the connection.3
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.4
Query the generated data
Once connected with valid sandbox credentials, sample documents and usage data are populated asynchronously (up to 30 seconds). Query the data using the connection ID.
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