> For the complete documentation index, see [llms.txt](https://help.blinger.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blinger.io/documentation/section-apps/adding-accounts/vkontakte.md).

# Vkontakte

## General information

#### The integration allows you to:

* **connect Communities / Groups** to Blinger.io (not personal accounts)
* **reply to messages**, being sent by the users to the Community
* **reply to comments** of the users under the publications, which were posted on the wall of the Community by those, who has the possibility to manage this Community

{% hint style="warning" %}

#### **Before the Vkontakte integration you should:**

* get authorized in Vkontakte under the account, which has the role of "Administrator" in the Community / Group being connected
* double check that the Community being connected has **the function "Write a message" activated** (path: Manage - Messages - Community messages: On)
  {% endhint %}

## Connect Dialogues?

### **Step 1.** Open the tab Apps and click on "Add new app"

![](/files/-LlqAvctzb5OCngjsdci)

### **Step 2.** Select VK channel and click on "Add VK"

![](/files/-LlquFt8nHp4m2r4hL71)

### **Step 3.** Click on "Start" in the window that appeared

![](/files/-Llqv9iOaqyeDIEZyiMc)

### **Step 4.** Select the Community, which you plan to connect

![](/files/-LlqvLgo91l9M7VRWo48)

... click on "Allow" fo the possibility to connect the application to Blinger.io

![](/files/-LmP_HC8UHVdtThbvmhA)

... after that, in Blinger.io the status that the integration was finalized will appear. **But the integration has not been completed yet!!!**

### **Step 5.** Click on "Edit" in the Vkontakte integration

![](/files/-LlqwVTaTkzytCzU3lwn)

### **Step 6.** Go to Vkontakte and browse to section "Manage" of the community, which has been connected

![](/files/-LmKbSJ3-CVnFMMhDPHm)

### **Step 7.** Browse to section «API usage», and switch to tab «СаllBack API»

![](/files/-LmKc36JUEqqJm3SmcTk)

### **Step 8.** Copy the value of "String to be returned"

![](/files/-LmKdP6z1-GHj8yWZ-2W)

### **Step 9.** Go to Blinger.io and paste the copied value in the field "Webhook key" and click on "Add"

{% hint style="info" %}
After the Secret key (shown in the image) has been generated, you should copy it
{% endhint %}

![](/files/-LmKe1oyvS8yoxVDjUsM)

### **Step 10.** Go to Vkontakte, paste Secret key in the field "Secret key" and click on "Save"

![](/files/-LmKeubNjY-zFsGlpeoQ)

### **Step 11. Fill in the "URL" field, install API v.5.50 version and click on "Confirm"**

The value for the field "URL": [**https://api.blinger.io/vk\_webhook**](https://api.blinger.ru/vk_webhook)

![](/files/-LmKfkzA2JKoY_qPhNUO)

### **Step 12.** Activate in the tab "Event types" the item "Message received"

![](/files/-LmKgr7-PlX5IFWq3ona)

{% hint style="success" %}

### **The integration is completed!**

{% endhint %}

## Connect Comments?

#### **Step 1.** Click on "Edit" in the Vkontakte integration

![](/files/-LmPY57WY99e1Am0263R)

#### **Step 2.** Click "Get access token" in the window that appeared

{% hint style="warning" %}
Upon each click on «Get access token», the toked for work with comments will be updated
{% endhint %}

![](/files/-LmPYGIgJKd0az5jkDA1)

#### **Step 3.** Copy in the window that appeared the token value from the address bar of the browser between the values `access_token=` and `&`

![](/files/-LEoImDS663UMF-zlvGp)

#### **Step 4.** Go to Blinger.io, paste the copied value and click on "Save"

![](/files/-LmPYnStm2guQa0Zw1hU)

#### **Step 5.** Open in a new tab Vkontakte, browse to the main page of the connected "Community" and browse to section "Manage"

![](/files/-LmKbSJ3-CVnFMMhDPHm)

#### **Step 6.** Click on "API usage" in the menu to the right, switch to tab "СаllBack API»

![](/files/-LmKc36JUEqqJm3SmcTk)

#### **Шаг 7.** Switch to the tab "Event types" and tick the box "New" in "Wall comments" block

![](/files/-LmPZVh1H0cvRcf4lZx5)

{% hint style="success" %}
**The integration is completed!**
{% endhint %}
