# Integrate meetings lite dashboard

**Prerequisites:-**

1. Register a new account at <https://my.saleassist.ai> with email and password
2. Follow steps from this link [GETTING STARTED.](/getting-started.md)

**Steps to integrate**&#x20;

**Step 1 - Call the login API to get tokens**

Use the below mentioned API request to get the long term JWT for the agent which will be used to connect with the Saleassist iframe dashboard.

**Request Method: POST**

**Request URL**: <https://platform.saleassist.ai/auth/login>

**Request Body:**&#x20;

{

&#x20;   "email": "\<email>",

&#x20;   "password": "\<password>"

}

**Curl command**:

`curl --location 'https://platform.saleassist.ai/auth/login' \`

`--header 'Content-Type: application/json' \`

`--data-raw '{`

&#x20;   `"email": "<email>",`

&#x20;   `"password": "<password>"`

`}'`

**Sample Response:**

`{`

&#x20;  `"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6IFsZWFzc2lzdC5haSIsIm1vYmlsZV9udW1iZXIiOiIiLCJlbWFpbF92ZXJpZmllZHBpcmVfYXQiOjE3MjEyOTcxOTk4MzcsImF1dGhfdGltZSI6MTcyMTIxMDc5OTg0Mn0.LrO8KQ3VhlzUXA4xZv1dOL6961A",`

&#x20;  `"refresh_token": "",`

&#x20;  `"expire_at": 1721297199837`

`}`

This API call should be made on the backend server for security concerns, i.e. to avoid Javascript injected code to sniff users credentials. Token has a validity of 1 day so user will have to login again after 1 day

**Step 2 - Open iframe in the front end**<br>

Use the following code snippet to integrate the Saleassist Dashboard on your website using an iframe. The styling of the iframe can be decided according to your theme.

`<div style="padding:56.25% 0 0 0;position:relative;">`

&#x20;   `<iframe loading="lazy" title="SaleAssist" false src="<`**`TO BE PASSED`**`>" style="border:none; position: absolute; top:0; left:0; height: 100%; width: 100%;" allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture; fullscreen;" frameborder="0" allowfullscreen>`

&#x20;   `</iframe>`

`</div>`

The src of the iframe is <https://my-lite.saleassist.ai/?token=>*<mark style="color:orange;">\<TOKEN GENERATED BY THE LOGIN CALL></mark>*

Thanks.

For more details, you can write us at <support@saleassist.ai>


---

# 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.saleassist.ai/integration-guide/integrate-meetings-lite-dashboard.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.
