# Getting Started

Once Rabet is installed and running, every new tab you open has a `window.rabet`object available in the developer console. This is how your website will interact with Rabet.

### Browser Detection

To verify if the browser is running Rabet, run the following code in your developer console:

```javascript
if (window.rabet) {
  console.log('Rabet is installed!');
}
```

You can review the full API here [API refrence](/api/api-refrence.md)

### Connecting to Rabet

You should **only** initiate a connection request in response to direct user action, such as clicking a button. You should **always** disable the "connect" button while the connection request is pending. You should **never** initiate a connection request on page load.


---

# 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.rabet.io/getting-started.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.
