> For the complete documentation index, see [llms.txt](https://docs.locoia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.locoia.com/embed-white-label-portal/embed-admin-setup/5.-testing/testing-example.md).

# Testing example

For simplicity, the testing example uses Embed with one Flow and a local HTML file.

1. Build Embed Flow, keep all Connector Auth empty

<figure><img src="/files/01sK6CXrJOWNsJrPTECo" alt=""><figcaption></figcaption></figure>

2. Create an Embed with one Group, specify the recently created Flow, set **file://\*** in  Allowed domains.

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

3. Generate JWT, e.g. using the free website  <https://jwt.io/>. You just need to paste a [payload](https://docs.locoia.com/embed-white-label-portal/embed-admin-setup/5.-testing/pages/-MdTSrokY-822qYwl9qO#2.-creating-jwt) and a [secret generated in Embed](/embed-white-label-portal/embed-admin-setup/2.-configure-embed.md).
4. Replace the **token** variable in the iframe code with JWT generated in the previous step.
5. Prepare an **.html** file on your local machine (in this example, text.html) and insert the iframe code in there.
6. Open the **.html** fil&#x65;**.** If you set it as required in the Embed settings, you'll see a Consent screen first. After consent, Groups and Flows from embed settings should be displayed. Here you can set up the integrations and check whether they work as expected.

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


---

# 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://docs.locoia.com/embed-white-label-portal/embed-admin-setup/5.-testing/testing-example.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.
