# Direct Link

The Direct Link content provides a mechanism for users to initiate chat sessions with a bot directly from a specified block on a webpage. This content element offers flexibility in managing chat sessions, allowing for both continued and new conversations.

### Functionality

<div><figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2FWwusQmFzTdXghASSkPBL%2FScreenshot_646.png?alt=media&#x26;token=17572f56-4ab7-4ff7-859a-32f3bbacecf9" alt=""><figcaption></figcaption></figure> <figure><img src="https://3746379134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamP4egBrOsuezKyj1NQl%2Fuploads%2F5QDyUiloRA20Or4RvtUt%2FScreenshot_645.png?alt=media&#x26;token=666faa11-074d-4dd5-b57c-b0b435513fa2" alt=""><figcaption></figcaption></figure></div>

* **Direct Link:** A unique URL is generated for each block on a webpage that can be used to initiate a chat session with the bot.
* **Chat Session Initiation:** Clicking on the Direct Link opens a new chat session or continues an existing one based on the provided parameters.
* **URL Customization:** The basic URL structure can be modified by appending a specific identifier (e.g., #block\_name) to target different blocks on the same webpage.

**Direct Link Structure**

* **Base URL:** This is the core URL that remains constant for all Direct Links associated with a particular bot.
* **Block Identifier:** An optional parameter that specifies the block on the webpage from which the Direct Link originates.
  * Format: `#block_name`
  * Purpose: Allows for multiple Direct Links on a single page to initiate different chat sessions.
