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