# Connect Your Viber

> Viber has implemented a new message pricing system for chatbots created after February 5, 2024. To send business-initiated messages, chatbot owners must make a monthly deposit of approximately 100 EUR to Viber.
>
> Read more: [Bot Commercial Model](https://help.viber.com/hc/en-us/articles/15247629658525-Bot-Commercial-Model#rate-card).
>
> As a result, the instructions on how to create a Viber chatbot given in this article may be outdated. To create a chatbot, apply to get a token directly from Viber. In the meantime, MyAlice will be trying to simplify this process and update this article accordingly.

{% 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](/files/MjEsOVU8Zl7bygrwVyqN)

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

![](/files/aa1teVuQMyzJe5hTKa0I)

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

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

![](/files/ppHlf0Wad9T8treQ9Yrg)

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](/chatbot-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp.md) to your Viber account.&#x20;
7. Click on **Finish** to complete the setup.

![](/files/ssjeXGC6nslYU96Rl7O9)

### 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.

![](/files/4PVlcaO0AKEySLeJvkNk)

{% 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](/chatbot-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp.md) 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.myalice.ai/connect-social-channels/connect-social-media/connect-viber.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
