When you build connected products, your end-customers would need to connect it to the Internet, right? The best way is to guide them through Device Provisioning Process inside of your app. Thankfully, with Blynk, it's really easy to do.
By now you should know, that every device on Blynk IOT platform needs to have a unique Auth Token. But what if you have thousands of products? How should you provide the Auth Token to every single product?
The answer is - Blynk.Inject™!
Blynk.Inject™ is a workflow for device provisioning. It's a complete solution that includes Firmware and Mobile Connection Wizard to simplify your life as a developer, and, what's even more important – for your end-customers.
Every app published with Blynk includes a Blynk.Inject™ workflow.
What is Device Provisioning?
Device provisioning is a process of passing a set of data to the hardware in order to connect it to the Internet and authenticate it in Blynk Cloud. This data may include WiFi network credentials, Auth Token, email address of the user and other.
Device Provisioning process includes 2 steps:
- Getting your product connected to the Internet;
- Authenticating your product in Blynk Cloud with Auth Token;
Depending on the hardware and connectivity used in your product, there are two types of provisioning:
- Dynamic Auth Token Provisioning
- Static Auth Token Provisioning
Dynamic Auth Token Provisioning
Used for devices that connect to the Internet over WiFi and can act as an WiFi Access Point (AP). ESP8266, NodeMCU, Blynk SparkFun is a good example of such hardware.
In this case, you don't have to flash Auth Token to every device. It's done automatically by requesting new Auth Token from Blynk Cloud and passing it to the device.
👉 Read more about how Dynamic Provisioning works
Static Auth Token Provisioning
Used for devices that connect to the Internet over Ethernet, 2G, 3G, GPRS and others.
In this case, you need to flash Auth Token to every device. We provide you with a list of Auth Tokens.
👉 Read more about how Static Provisioning works