> For the complete documentation index, see [llms.txt](https://docs.coherent.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coherent.global/assistant/get-started/connect-to-spark.md).

# Connect to Spark

## Connect to Spark

<figure><img src="/files/zyEt8UKN2pv6xjdzuOQh" alt=""><figcaption><p>Quick steps to connect to spark.</p></figcaption></figure>

1. Open Coherent Assistant and click on the bars <img src="/files/wsg5DotIoQqbMmJYVjpg" alt="" data-size="line"> to open the sidebar.
2. Click on **Login** on the sidebar.
3. Enter your Spark login URL into the text field. Click on **Connect to Spark**.
4. On the login window that opens, enter your credentials and click **Log in.**<br>

   <figure><img src="/files/jqMGvPUMTN3VHD2Gxo6R" alt=""><figcaption><p>Login modal that opens once you click on Connect to Spark.</p></figcaption></figure>

{% hint style="info" %}
You can use the same account that you use to access Coherent Spark. The Coherent Assistant uses the same means of authentication to our Software as a Service (SaaS) offering.
{% endhint %}

### Where is my Spark URL?

Spark URL is the domain you use to reach Spark on the Web (can also use any URL from Spark once you've logged in) or the endpoint URL of any service you have on Spark.

{% hint style="info" %}
The Spark URL has the following syntax:

`https://spark.[environment].[region].coherent.global/[tenant]`
{% endhint %}

### I am getting an error: Invalid parameter, redirect\_uri

This error occurs when attempting to connect to a Spark environment not supported by Coherent Assistant. Please ensure you are using either UAT or PROD environments to log in.


---

# 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:

```
GET https://docs.coherent.global/assistant/get-started/connect-to-spark.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.
