# Add Telegram Bot Token in Postman

{% hint style="info" %}
You can watch the video on Postman's [workplace group](https://onepublicservice.workplace.com/groups/postman.gov.sg/permalink/2722772607991773/) to go through the set-up.
{% endhint %}

### Save your bot token under settings

Bot token is the way that Postman 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?

Yes, you may have a few people who are sending things out from Postman 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

![](https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2Fgit-blob-ef4aa1d206c26363779d2aa630dd6b6e338950b7%2Ftelegram-settings.png?alt=media)

### **Step 2:** Select Telegram

![](https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2Fgit-blob-3ad7016581157ef242c05dd5e317595073690fef%2Ftelegram-cred.png?alt=media)

### Step 3: Copy & paste your Telegram bot token from **BotFather** under `Telegram Bot Token`

![](https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2Fgit-blob-ca0511620324b21d6167e6633176055f9a82beda%2Ftelegram-cred-token.png?alt=media)

Subscribe to your own bot first (see [below](https://guide.postman.gov.sg/campaign-guide/getting-started/telegram-bot/add-telegram-bot-token-in-postman#how-to-subscribe-to-your-bot)) and then you can enter your phone number here to validate the Telegram bot token.

![](https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2Fgit-blob-439e67a7d1b0ad12c3ea5faa349d52c176488959%2Ftelegram-test-cred.png?alt=media)

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

## How to subscribe to your bot?

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

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

{% hint style="info" %}
Do not type your phone number. Postman will only receive the subscriber's phone number in our system when the button is clicked.
{% endhint %}

![This is an example bot set up by the Postman team.](https://4126954886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAQH3DF49Lq0AJudrbF%2Fuploads%2Fgit-blob-7cf5a885d970f6a8c07e42e604e8cb6d8e7385a3%2Ftelegram-bot-recipient-onboarding.png?alt=media)
