> For the complete documentation index, see [llms.txt](https://help.cosmobots.io/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cosmobots.io/help/bot-builder/canais/instagram.md).

# Instagram

{% embed url="<https://www.loom.com/share/c4e17e7dad51447caf2c4a23a6526727>" %}

## Vinculando a conta à uma página do Facebook

O primeiro passo para realizar a integração é vincular sua página do instagram à sua página no Facebook.

1- Faça login em seu Facebook que está vinculado à página da sua empresa

2- Clique em páginas. selecione a página que quer vincular ao instagram e clique em Configurações:

![](/files/-MfZur2DXElPAMuZ8h9Q)

3- Clique em Instagram > conectar conta > Selecione a conta e clique em continuar:

![](/files/-MfZv0M1B_B7BsrAW4uT)

## Vinculando sua conta ao bot

{% hint style="info" %}
**OBS:** A sua conta precisa ser uma conta comercial.
{% endhint %}

1- Faça login em sua conta Cosmobots > vá em Canais > Selecione a opção Instagram:

![](/files/-MfZyNlC-cGS5H64iflm)

2- Clique em Login com Facebook, faça login em sua conta > clique em Editar Configurações > Selecione a página do instagram que deseja conectar > Clique em Avançar > selecione a página do Facebook que está vinculada ao Instagram e clique em Concluir:

![](/files/-MfZygzPz-mpInXvBhDG)

Pronto, sua página está conectada ao instagram.

{% hint style="warning" %}
**OBS:** Caso a sua conta não atinja os limites impostos pelo Instagram (entre 1000 e 100000 mil seguidores) e mesmo assim você quiser testar para ver como funciona, existe a possibilidade de utilizar uma **conta de teste**;

Para criar uma conta de teste, crie uma conta com o nome **test\_+nome da sua conta**, por exempl&#x6F;**, test\_cosmobots**
{% endhint %}

Para testar, é só enviar um oi no Direct da sua página e o bot vai responder:

{% embed url="<https://www.loom.com/share/12be49efd36b4993865085160383a0b5>" %}

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.cosmobots.io/help/bot-builder/canais/instagram.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
