# Getting started

## Obtaining API Credentials

The three elements you will now need to make a request in API Version 4 are: Company API Key, Rightsline Access Key, and Rightsline Secret Access Key. The Company API Key is shared among your organization and is unique per environment (Staging, Integration, Prod Mirror, and Production). Your Access Key and Secret Access Key is unique for your API User account. It will inherit the security policy that is attached to your account.

1. **Login to your user account** from <https://app.rightsline.com> (or if in the EU, use <https://app.rightsline.eu>).
2. Open your **Profile** from the drop-down menu, and in the *API Access* module, click **Generate Access Keys** and **Generate Company API Key**.

![Generate your company API key, and your user access/secret keys.](https://2092511861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8zuJdsrsd_MeaESXRx-3778137224%2Fuploads%2FMVoX1XKyEKpQz1jtKwsP%2Fapi.JPG?alt=media\&token=62809521-ae33-4c76-a639-11947be035e0)

{% hint style="info" %}
You will use these keys to request temporary access keys to authenticate to the API. These keys are private. Please store them securely.
{% endhint %}

Once you have your Company API Key, and your User Account's Access and Secret Key, you are ready to make your first API request.


---

# 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://api-docs.rightsline.com/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.
