> For the complete documentation index, see [llms.txt](https://developer.tiledesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.tiledesk.com/dashboard-and-agentchat-sdk/dashboard-sdk.md).

# Dashboard SDK

## Dashboard Autologin

To auto login pass the JWT token as a query parameter of the Dashboard URL as the following example:

```
https://panel.tiledesk.com/v3/dashboard/#/project/<YOUR_PROJECT_ID>/home?token=<JWT_TOKEN>
```

Example:

```
https://panel.tiledesk.com/v3/dashboard/#/project/5f47e834c85eca0012c97888/home?token=JWT XYZABC
```

## Embedded conversation info

You can run an embedded version of the dashboard inside an existing app using, for example an iframe, as in the following example which display the detail of a conversation (CONVERSATION\_UUID starts with support-group-XYZ)

```
<iframe src='https://panel.tiledesk.com/v3/dashboard/#/project/<YOUR_PROJECT_ID>/request-for-panel/support-group-<CONVERSATION_ID>?token=<JWT_TOKEN'></iframe>
```

Example:

```
<iframe src='https://panel.tiledesk.com/v3/dashboard/#/project/5f47e834c85eca0012c97888/request-for-panel/support-group-60afd5aba1971c00349801c1-1622819472803?token=JWT XYZABC'></iframe>
```

It will show :

![image](https://user-images.githubusercontent.com/9378770/121049719-40ccb700-c7b8-11eb-9572-c220cb895df1.png)


---

# 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://developer.tiledesk.com/dashboard-and-agentchat-sdk/dashboard-sdk.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.
