The first step to connect any IoT device with Medium One cloud is to create and setup your account with Medium One. In this tutorial, you will create and set up your Medium One sandbox account.
Primary steps of this tutorial:
- Create a Medium One sandbox account.
- Sign In to your Medium One sandbox account.
- Change password of your sandbox account.
- Retrieve Project MQTT ID.
- Create an API User.
- Create a new API Key.
- Configure a Real Time Events Stream widget.
Step 1. Create a Medium One sandbox account.
- Go to the Medium One website.
- Sign up for a Medium One sandbox account using your First name, Last name, Email Address and a Project or Business name as necessary credentials.
- Click Create Account button.
- You will receive an email with your account credentials required to sign in to Medium One.
Step 2. Sign In to your Medium One sandbox account.
- Sign In directly from that email or Sign In here to your account with those credentials.
Step 3. Change password of your sandbox account.
- Click Setup on left side bar of your Medium One sandbox account.
You will notice that Setup will expand into number of sub – menu.
- Click My Account to change password of your account.
- Scroll over the password, you can notice the Edit option from where you can change your password.
- Your password must fulfill all the necessary requirements listed.
- Save your new password. From the next time, you can sign in to your account with your new password.
Now, you will require Project MQTT ID, Basic API User (User MQTT ID, Username, User password) and API Key, for MQTT protocol to send data to the Medium One cloud through Medium One web portal (sandbox account).
Step 4. Retrieve Project MQTT ID.
- Click MQTT under Setup in the menu bar.
- Copy Project MQTT ID and save it in a file. It will be required to connect your device to Medium One cloud.
Here, we are considering a text file named as M1_credentials.txt, to save all the necessary credentials.
Step 5. Create an API User.
- Select Manage Users now on the same side bar under Setup.
- Click Add New User.
- Provide a Username and Password.
- Copy and save these username and password in M1_credentials.txt file for future use .
- Save it.
- Now you will observe MQTT ID on the same page along with the same Login ID which you have previously entered as Username.
You may need to refresh the page to see the changes.
- Copy and save this MQTT ID in M1_credentials.txt file along with the other credentials.
Step 6. Create a new API Key.
- Select Manage API Keys.
- You will find an API Key. This must be auto-generated API Key.
- You can also generate a new API Key.
- Click Add New API Key button.
- Enter a brief Description and make sure Enabled box is checked.
3. Click Save button.
This test_api_key will be your new API Key; you will use it to generate events in upcoming steps.
Note: You can consider either auto generated or newly created API Key.
- Copy and save any of your API Key in your M1_credentials.txt file.
Step 7. Configure a Real Time Events Stream widget.
- Select Dashboard on the same left sidebar. You can see the number of widgets on the screen.
- Select and open Single User Real Time Events Stream widget.
- On the right side of the selected widget, select the user from the Select user drop down.
- Select your appropriate user which you have created earlier (or from which you want to get the events, in case of multiple users).
Now you are ready to see the events on the dashboard.
Congratulations! You have successfully setup your Medium One sandbox account.
Feel free to experiment further with the various IoT devices to connect with Medium One cloud.
For more tutorials on various boards and devices, please visit: https://blog.mediumone.com/category/tutorials/.