# Connect Your Viber

{% hint style="info" %}
You need to —&#x20;

1. An Admin on MyAlice.
2. Have a Viber Bot Account.
   {% endhint %}

## Use Cases of MyAlice for Viber

Integrating your Viber Business account with MyAlice will allow you to:

* Respond to Viber messages from MyAlice inbox.
* Manage multiple Viber accounts from the same inbox.
* Share product images using clickable widgets.
* Use chatbots to create custom user journeys and automate repetitive queries.
* Manage messages, comments and e-commerce orders from other platforms in the same inbox.

## Connect Your Viber Bot Account

### Step 1: Create a Viber Bot Account

1. Go to [partners.viber.com](https://partners.viber.com/login) and create an account with the phone number with which your Viber account is connected. Next, you should verify the code sent to your Viber account.&#x20;
2. Once you have logged in, click on **Create Bot Account**, and fill up the necessary details.

![Create a Viber Bot Account](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/y9DrtuqnwwKio32jdhaB/Screenshot%202022-02-17%20at%209.00.52%20PM.png)

Once you are done, click on **Create** and you will receive a unique token.&#x20;

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/2s34KcebNxt1FFkZpigX/Viber%20Token.png)

Meanwhile don't forget to publish the bot from your Viber mobile app.

### Step 2: Link Your Viber Account with MyAlice

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/Pg98zg9vbbYZERWVrD47/Integrations%20tab.png)

1. Go to **Integration** from the left navigation bar.
2. Under **Available Integrations**, select **Viber**.
3. A connection window will appear from the right. Click on **Next**.
4. Add a name for your channel e.g., MyAlice Viber.
5. Paste your Viber token (see [step 1](#step-1-create-a-viber-bot-account)) in the **Primary Token** field.
6. You can also [connect an NLP app](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp) to your Viber account.&#x20;
7. Click on **Finish** to complete the setup.

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/Hp32OSoSKILjsrCDbxKb/Viber%20Settings.png)

### Step 3: Placing the URI (Read: Not URL)

1. Login to the partner portal.&#x20;
2. Select the bot account.&#x20;
3. Copy the URI and place it at the end of the following link.

{% tabs %}
{% tab title="Link" %}
<http://live-v3-api.getalice.ai/viber/redirect?viber\\_url=viber://pa?chatURI=\\><your URI>
{% endtab %}

{% tab title="Example" %}
If your URI is "SampleViber", our link would look like this:

<http://live-v3-api.getalice.ai/viber/redirect?viber\\_url=viber://pa?chatURI=SampleViber>
{% endtab %}
{% endtabs %}

You can now use any link shortener to trim the link and allow your users reach out to you using the link.

{% hint style="info" %}
You will be asked to provide a URI while creating your bot account. The URI is used for creating a deep link or to share the bot with potential new users.&#x20;
{% endhint %}

## Edit Viber Channel Settings

From the Integration menu, select the **Integrated** tab. Here, you can view and manage your already connected channels.

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/A0ykx5iwVgpIpGWw5483/All%20Integrated%20Channels%20Final.png)

{% hint style="info" %}
Click on the triple dot (...) icon on each channel to edit channel settings, disconnect or delete your channel.
{% endhint %}

From the edit menu, you can edit the channel name, and connect [an NLP app](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp) to your Viber channel.

Please refer to the following page to connect your NLP and train your chatbots to process, analyze and understand large amounts of natural language data.&#x20;
