> For the complete documentation index, see [llms.txt](https://guide.nomsa.gov.kh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.nomsa.gov.kh/campaign-guide-telegram/telegram-campaigns-basics/add-telegram-bot-token-in-nomsa.md).

# Add Telegram Bot Token in Nomsa

#### Save your bot token under settings <a href="#save-your-bot-token-under-settings" id="save-your-bot-token-under-settings"></a>

Bot token is the way that Nomsa recognizes your agency's bot. We need your bot token to contact Telegram's API. If you want to be able to reuse your bot, you need to save them under settings.

#### Can multiple people from my agency add the bot credential under settings? <a href="#can-multiple-people-from-my-agency-add-the-bot-credential-under-settings" id="can-multiple-people-from-my-agency-add-the-bot-credential-under-settings"></a>

Yes, you may have a few people who are sending things out from Nomsa on a regular basis and you just need to save the same bot token under settings to share the bot.

#### **Step 1**: Select Add credentials <a href="#step-1-select-add-credentials" id="step-1-select-add-credentials"></a>

<figure><img src="https://2152951736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FokkzQYtJVcUXvcEivC85%2Fuploads%2FN0ThvEn0vFTWwxIeZy1N%2F27-setting.png?alt=media&amp;token=74f59ab1-27c2-488f-abf7-fce1c87b91f8" alt=""><figcaption></figcaption></figure>

#### **Step 2:** Select Telegram <a href="#step-2-select-telegram" id="step-2-select-telegram"></a>

<figure><img src="https://2152951736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FokkzQYtJVcUXvcEivC85%2Fuploads%2FfjFwcdHtmL4IqThQkjj9%2F27-setting-2.png?alt=media&amp;token=95916e66-c32a-4974-9975-dd0a4bfc4e1a" alt=""><figcaption></figcaption></figure>

#### Step 3: Copy & paste your Telegram bot token from **BotFather** under `Telegram Bot Token` <a href="#step-3-copy-and-paste-your-telegram-bot-token-from-botfather-under-telegram-bot-token" id="step-3-copy-and-paste-your-telegram-bot-token-from-botfather-under-telegram-bot-token"></a>

<figure><img src="https://2152951736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FokkzQYtJVcUXvcEivC85%2Fuploads%2Ftwj7THzLPrADc0nRJV91%2F26-api-key.png?alt=media&amp;token=c609572f-c009-49a8-8f30-67b397187516" alt=""><figcaption></figcaption></figure>

Subscribe to your own bot first and then you can enter your phone number here to validate the Telegram bot token.

<figure><img src="https://2152951736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FokkzQYtJVcUXvcEivC85%2Fuploads%2FjCzy8YI9i0FYQVOwvmGY%2Fimage.png?alt=media&amp;token=b336df1f-4b48-43d4-aae5-1ae1b1cb7f86" alt=""><figcaption></figcaption></figure>

If the set up is correct, you should receive a message through Nomsa on Telegram through your agency's bot.

### How to subscribe to your bot? <a href="#how-to-subscribe-to-your-bot" id="how-to-subscribe-to-your-bot"></a>

Go to the telegram link for your bot `https://t.me/[your bot name]`

1. 1.Talk to your bot with `/start`
2. 2.Send the bot your phone number by clicking on the **button**

Do not type your phone number. Nomsa will only receive the subscriber's phone number in our system when the button is clicked.

<figure><img src="https://2152951736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FokkzQYtJVcUXvcEivC85%2Fuploads%2FkGw9uydmyZ7n6AJHJQCJ%2Ftelegram-bot-crd.jpg?alt=media&amp;token=9539e871-8856-473a-bb56-7bf7293eba82" alt=""><figcaption></figcaption></figure>
