# Bagy

Para criar o Token de integração na Bagy é bem simples.

### Criando o Token na Bagy

No painel da Bagy, acesse **Configurações** e vá até **APIs e Webhooks**.

<figure><img src="/files/dGSvpqOQvfiKEdNeI9kr" alt=""><figcaption></figcaption></figure>

\
No menu à esquerda, você verá todas as APIs disponíveis. Clique em **Adicionar API**.

<figure><img src="/files/BQ2CDVQClYcHalDwPiQD" alt=""><figcaption></figcaption></figure>

<br>

Dê um nome à sua API, por exemplo: **LogisticaReversa-TroqueeDevolva**, e clique em **Adicionar**.

<figure><img src="/files/Dab0ldXOTdt5BDSpiDJl" alt=""><figcaption></figcaption></figure>

Aceite os termos e condições para concluir a criação da API.

<figure><img src="/files/uFZaCTJmJ0RVBdTFGzi4" alt=""><figcaption></figcaption></figure>

\
Após a criação, você receberá o **token de acesso**. Copie esse código.

<figure><img src="/files/DRlaRn6BF4EvZ1DMtVF3" alt=""><figcaption></figcaption></figure>

\
No painel da **Troque & Devolva**, vá em **Configurações > Integrações**, selecione **Bagy** e cole o token no campo solicitado.

<figure><img src="/files/zyzIkyiUu44pNIKX0W3i" alt=""><figcaption></figcaption></figure>

Pronto! Sua conta da Troque & Devolva agora está integrada à Bagy.


---

# 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.troqueedevolva.com.br/integracao-conexao-de-dados/plataformas-de-e-commerce/bagy.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.
