---
description: >-
  Discover BlackSwanAI's telegram bot: sophisticated AI trading to define the
  future of your crypto trading. Your transformation starts here.
---

# Starting up the main bot

{% hint style="info" %}
**Chad tip:** The [bot](https://t.me/BlackSwanAIBot) can be used on mobile or desktop meaning your blackswan instance can be setup and deployed all from within telegram.&#x20;
{% endhint %}

If you are comfortable with setting up the [openAI](openai-api-access) and [exchange API](exchange-api-keys) credentials, or if you already have, then you are ready to deploy an instance of the bot which can be found [here](https://t.me/BlackSwanAIBot)

<figure><img src="https://2918744924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtinNYGgtYekAT328I30I%2Fuploads%2Fcc8p49dLdcgLlWbVvHrV%2Ftg-main-bot-2a.PNG?alt=media&#x26;token=b52989a9-3117-4f13-a9f9-e962eb21ed83" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Chad Tip:** The bot only connects to your wallet to verify your BlackSwan balance - no permissions are required
{% endhint %}



1. Go to the telegram bot and click on Open Bot Wizard to bring up the setup screen
2. Connect your wallet containing your 25k or more blackswan tokens (se above)
3. Once connected click the setup button
4. Input your OpenAI API key, choose your exchange and add the exchange credentials in. This will be either your API key and Secret and for Kucoin it will require the API passphrase. If you used dYdX there will be a total of six credentials to input as explained in the [dYdX ](exchange-api-keys/dydx)section.
5. Select twitter accounts you want to follow, or simply click the 'Follow All' option
6. Enter your Channel ID - This is a telegram channel you should create to receive your news and blackswan trading notifications in
7. Enter your Channel Bot token - you want to create a bot using [Botfather](https://t.me/BotFather) and copy the token from there once you have generated a bot.
8. You will also need to make another telegram group and bot token for managing your bot instance after deployment. Create this group and bot token and enter them in at the bottom
9. Click continue to next step.

<div><figure><img src="https://2918744924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtinNYGgtYekAT328I30I%2Fuploads%2FxWhRGLZ1q8hRYkaD32Up%2Ftg-main-bot-3.PNG?alt=media&#x26;token=b76dd037-5db4-4876-bb66-33b10ba008bf" alt=""><figcaption><p>Step 4</p></figcaption></figure> <figure><img src="https://2918744924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtinNYGgtYekAT328I30I%2Fuploads%2Ffat0MudPLVsHaiyffkYy%2Ftg-main-bot-4.PNG?alt=media&#x26;token=7c6d980b-ea35-4ae1-94d9-757818c3304e" alt=""><figcaption><p>Steps 5,6,7,8,9</p></figcaption></figure></div>



{% hint style="info" %}
**Chad Tip:** You will need to use botfather to create your two bot tokens. To get the channel id you can forward a message from the channel to [https://t.me/myidbot](https://t.me/myidbot) - to get the group ID simply add the IDbot to your group and type /getgroupid to get your management group ID\
\
This process may seem long-winded but remember that you will only have to do it once
{% endhint %}
