Getting Started with Blynk

Build your first IoT app in five minutes

Here is what you need to Blynk

A Smartphone
• Android OS version 4.2+
• iOS version 9+

Blynk doesn't run on Windows Phones, Blackberries and other dead platforms. Sorry.

You can also run Blynk on emulators
Internet Connection
To connect your hardware to the Internet, you can choose almost any module either built-in, or external shields

Supported connectivity
• WiFi
• Ethernet
• Cellular (GSM, 2g, 3g, 4g, LTE)
• Serial
• USB via your PC
• Bluetooth (BETA)

Get started in 5 minutes

1
Download Blynk app
1 minute
Blynk app for iOS and Android is the easiest way to build your own mobile app that work with the hardware of your choice.

No iOS or Android coding required.
2
Install Blynk Library
2 minutes
Blynk Library is an extension that runs on top of your hardware application. It handles all the connection routines and data exchange between your hardware, Blynk Cloud, and your app project.

• C++, C#
• JavaScript
• Python, MicroPython
• HTTP RESTful API
• Node.js
• Lua
• OpenWrt
• MBED
• Node-RED
and others
3
Connect hardware
2 minutes
To get your hardware online and connect it to Blynk Cloud, you would need a device Authentication Token.

Once you download the app you will be able to generate Auth Token for every device.
4
Enjoy Blynking
forever!
After your hardware is connected spend some time learning Blynk basics. It will help you to easily build new projects or integrate Blynk into your existing project.

We prepared a lot of examples and tutorials to get you started

Download Blynk App

A drag-n-drop app constructor packed with IoT features:

• Visualize and plot data from any sensor
• Control relays, motors, and any electrical appliances
• Get push notifications, send emails
• Add many devices

...and much much more

Download Blynk App
A drag-n-drop app constructor packed with IoT features:

• Visualize and plot data from any sensor
• Control relays, motors, and any electrical appliances
• Get push notifications, send emails
• Add many devices

...and much much more

1
Create New Account in Blynk app
Account is needed to save your projects and provide access from any smartphone you have.

☝️Use a valid email address as it will be later used often
2
Create New Project
• Create New Project and choose the hardware you use.
• If you can't find the hardware you use – select Generic Board
• Choose what type of connectivity you use?
• Choose Dark or Light UI interface
3
Get Auth Token
Check your inbox to see if you get an email from Blynk with the Auth Token. You will need it later
Install Blynk Library
Blynk Library is an extension that runs on your hardware. It handles connectivity, device authentication in the cloud, and commands processing between Blynk app, Cloud, and hardware.

It's very flexible whether you are starting from scratch, or integrating Blynk into existing project.

1
Your library should be installed before moving forward
Check this help article if you need instructions on how to install Blynk Library for Arduino IDE
2
Find the code example for your hardware model
Blynk works with hundreds of hardware models and connection types. There are 2 ways you can find the correct code for your hardware.

1. Use Blynk Example Code Builder
• Open Example Code Builder
• Choose your hardware model
• Choose connectivity type you use
• Add Auth Token (it should be in your email)
• Copy the whole code to buffer (CTRL+C)

2. Use examples provided with the library
Go to Examples folder in the installed library. Choose the example that best describes your hardware.

For example, If you use ESP32, choose:
/examples/Boards_WiFi/ESP32_WiFi/ESP32_WiFi.ino
3
Add Auth Token
• Paste full code into your sketch in Arduino IDE
• If you are using WiFi - input your WiFI credentials:
SSID and Password
4
Flash and Play
• Open Blynk App and tap ▷PLAY (in the right top corner)
• You will get a message that hardware is offline. That's OK.
• Upload your sketch to hardware
• Check the Serial Monitor, you should see that your device is connected

Congrats! Welcome to the Internet of Things with Blynk.
Check the links below to learn Blynk basics.

Other helpful links to learn more about Blynk