# Workflow
Here, we explain the workflow for controlling Bluetooth® Low Energy-compatible devices with LINE Things.
# Overview
To construct a service compatible with LINE Things, link your bot app, your Messaging API channel, the LINE Platform, LINE, and your devices as shown in the figure.
# Workflow
# (1) Create a Messaging API channel
First, create a provider and a Messaging API channel on the LINE Developers Console. Learn how to create a provider and channel from Introduction in the Messaging API documentation.
After you create a Messaging API channel, you'll find the following information in the Channel basic settings page of the LINE Developers Console. Be sure to store it somewhere you can find it later.
Information | Description |
---|---|
Channel secret | A secret key by which a bot app can verify that an incoming Webhook event was sent from the LINE Platform. |
Access token (long-lived) | A token that identifies the channel for the Messaging API. |
# (2) Prepare your system
If you want to send a message to the user when a device is linked or unlinked, you'll need to build a bot app. Learn how from Building a bot in the Messaging API documentation.
If you don't want to send messages on link or unlink events, there is no need to build a bot app.
# (3) Configure devices
Configure your Bluetooth® Low Energy-compatible devices to make them compatible with LINE Things.
# Try LINE Things
After completing the above, start LINE, and try controlling your devices.
Learn more from Trying LINE Things.