> For the complete documentation index, see [llms.txt](https://en.help.firstline.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://en.help.firstline.cc/feature/channels/line/how-to-enable-messaging-api.md).

# How to enable Messaging API

This tutorial covers connecting to Messaging API and obtaining the required data step by step.

## Go to the official account to connect

If you already have an official account, click directly on the official account page you want to connect. If not, please follow the steps to create one[ LINE Official Account Manager](https://account.line.biz/login?redirectUri=https%3A%2F%2Fmanager.line.biz%2F%3Fstatus%3Dsuccess) .

If you already have an official account but it does not appear in the list, it may be because you do not have administrator permissions. The account administrator can adjust the corresponding permissions.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FCYKRqfubNMxkCcY5XBij%2F%E6%88%AA%E5%9C%96%202022-06-22%2017.20.27.png?alt=media\&token=6cec8aae-bb0a-47be-909b-9a15fd65067e)

## Enable the Message API

Click “Manage” at the top right, then click “Message API,” then click “Enable Message API.”

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FU0tQAD24uTlz60xgm1jG%2Fimage.png?alt=media\&token=26168176-f24c-43db-a5ce-50ef37c91ace)

After enabling, you will be asked to select or create a service provider. The service provider is usually the name of a company, organization, or individual, such as your own name or your company’s name.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FN8JILZ80bk9J8f4mgoe3%2F%E6%88%AA%E5%9C%96%202022-06-22%2017.26.12.png?alt=media\&token=794aaa75-6106-4e4b-a893-9da724d058ed)

Then you can copy and paste your company webpage’s privacy policy and terms of service URLs, and confirm enabling the Message API.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FOUv9AsWGlOdnNjiwfdGK%2F%E6%88%AA%E5%9C%96%202022-06-22%2017.28.17.png?alt=media\&token=48803e79-deb5-45b4-80af-48a86aa0fb7c)

## Go to the Developer page

After the previous step, you will see information such as “Channel ID” and “Channel secret” in the current interface.

But please click the link below that says “You can perform other settings from[LINE Developers](https://developers.line.biz/en/)” to go directly to [LINE Developers](https://developers.line.biz/en/) page.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2Fd8KXnYVvoIcNYRH5e4pD%2Fimage.png?alt=media\&token=066951f2-2066-48a4-be51-0efb29c326ee)

Enter [LINE Developers](https://developers.line.biz/en/?status=success) the backend, select the Admin you just set up, and you can view more detailed integration information.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FLDc613LFXSwWQ6FucP9d%2F%E6%88%AA%E5%9C%96%202022-06-22%2017.33.15.png?alt=media\&token=539da66b-b4ad-46f2-bb8f-47268a673e1b)

You can find integration data such as “Channel secret” and “Channel access token” respectively in “Basic settings” and “Messaging API,” which allows you to perform the integration steps in order.

![](https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FmfLHcTmzVAyciCUqe0J2%2Fimage.png?alt=media\&token=6960eae1-adf5-489a-8143-cdf2a9a2261f)
