You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-16Lines changed: 7 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,17 +28,8 @@ Run the following command to use this package as a dependency:
28
28
## Requirements
29
29
30
30
1. Create an account in [nrfcloud.com](https://nrfcloud.com).
31
-
2. Retrieve your API key. You can find it in your [nRF Cloud User Account page](https://nrfcloud.com/#/account).
32
-
3. To simplify the use of the scripts, you can declare your API key as an environment variable in your terminal. This way, you won't need to repeatedly type it in each command. Here's how to do it:
33
-
34
-
```bash
35
-
export API_KEY=<your_api_key>
36
-
```
37
-
38
-
Replace `<your_api_key>` with your actual API key.
39
-
If you don't choose this path, take note of your API key, you will need it soon. Note that if you are part of multiple teams on nRF Cloud, the API key will be different for each one.
40
-
41
-
4. Depending on your goal, you'll need to configure your nRF Connect SDK project with the following libraries:
31
+
2. Retrieve your API key. You can find it in your [nRF Cloud User Account page](https://nrfcloud.com/#/account). Note that if you are part of multiple teams on nRF Cloud, the API key will be different for each one.
32
+
3. Depending on your goal, you'll need to configure your nRF Connect SDK project with the following libraries:
42
33
43
34
***For basic device registration:** Enable the [AT Host library](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/at_host.html). Refer to the [AT Client sample](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/at_client/README.html) in the nRF Connect SDK for an implementation example.
44
35
@@ -49,7 +40,7 @@ If you don't choose this path, take note of your API key, you will need it soon.
49
40
***nRF Provisioning Sample:** Provides a focused look at the provisioning steps.
Upon success, you can find an `onboard.csv` file with information about your device. We need this file to register the certificate with your account.
69
+
Upon success, you can find an `onboard.csv` file with information about your device. This file is needed to register the certificate with your account.
79
70
If you encounter a `No device found` error, you might need to specify the serial port using the `--port` option.
80
71
81
-
Finally, add the device to your account with the Onboarding script:
72
+
Onboard the device to your account using the `nrf_cloud_onboard` script as follows:
You can also install credentials on many devices in a row using the `--append` option and add the bulk `onboard.csv` to your account with the same command.
76
+
It is possible to install credentials on many devices in a row using the `--append` option and add the bulk `onboard.csv` to your account with the same command.
86
77
87
78
Congratulations! You have successfully registered your device to nRF Cloud, you should be able to visualize it on the [Devices panel](https://nrfcloud.com/#/devices).
0 commit comments