# WebSocket Connection

{% hint style="info" %}
Check out the given walk-through on how to establish a WebSocket Connection using the Designer module.
{% endhint %}

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

* Click the ***Data Connectors*** icon.
* Click the ***Create New Connection*** icon provided next to the ***WebSocket*** connector.
* A new connection gets created under the Web Socket connector type.
* The configurable connection-specific fields display on the right side of the page as explained below:

  * **Name:** Provide a name for the connection
  * **URL:** Enter a URL link
  * **guid:** Provide the guid.
  * Ingestion ID: Provide the ingestion id.
  * Ingestion Secret: Provide the ingestion secret key.
  * **Load at Start**: Enable this option to get up-to-date data / pull the updated data from the data source before loading it into charts.

  <figure><img src="/files/rVTA5r2mShdSRhNUGzAI" alt=""><figcaption></figcaption></figure>
* The WebSocket connection gets established.


---

# 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.bdb.ai/governed-dashboards-4/connecting-to-a-data-source/establishing-a-data-connection/websocket-connection.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.
