Skip to main content

CREATE AN API KEY IN ARDUINO CLOUD

  1. On the Arduino Cloud portal main page click API keys -> CREATE API KEY create

  2. Give a name to the API KEY to be created and click the CONTINUE button create

CREATING AN ARDUINO PRO CONNECTION

Creating a Connection With UI

Not implemented yet.

Creating a Connection With API

To do this, you need to use the Connections group resource:

  • POST/connections to create a new Connection instance
  • PUT/connections to update a Connection instance
  • DELETE/connections to delete a Connection instance
Note

We follow the REST-full API pattern, when updating configuration properties for a connection resource. Thus, you must also provide the whole configuration again.

Example for creation of a new connection instance :

POST /connections
{
"connectorId": "actility-arduino-pro-iot",
"name": "Test Arduino Pro Connection",
"configuration": {
"clientId": "IFPrc7dBqdhf5M1fk7rtNT8zWpqahygh",
"clientSecret":"uXk9HDkUctqqZ8VFxG3g4LPtCpoCM5vHkyy5Dvm3Md7BSfpeSRflMqFR2hmpBHPs"
}
}

The following table lists the properties applicable to a connection instance.

PropertyExpected results
connectorIdMust be set to actility-arduino-pro-iot.
configuration/clientIdThe Client ID of the Arduino Cloud API Key that you have created.
configuration/clientSecretThe Client Secret of the Arduino Cloud API Key that you have created.
Important note

All properties are not present in this example. You can check the rest of these properties in the common parameters section.

Limitations

Troubleshooting