# Rest API

In addition to ready-to-use integrations, Jet Admin allows you to use REST API to connect to any tool you need to integrate into your workflow.&#x20;

{% embed url="<https://youtu.be/MlNuOS2sffQ>" %}

To connect a REST API or another resource, first select Add Resource from the project menu to open the resource selection pane:

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F1DdjwJCkQNWSDbZM714v%2Fimage.png?alt=media&#x26;token=59fb4a6e-9030-41d4-bada-e9b20f8cbdd2" alt=""><figcaption></figcaption></figure>

You can also implement your own custom API using API Builder. For example, you can set up GET or POST requests to retrieve or update data based on your application's needs.

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F9aIYXU097ARUwiQ019DQ%2Fimage.png?alt=media&#x26;token=aa8e7140-587b-40b4-b4fb-f20bce6c4d99" alt=""><figcaption></figcaption></figure>

{% content-ref url="../data/make-an-http-request" %}
[make-an-http-request](https://docs.jetadmin.io/user-guide/data/make-an-http-request)
{% endcontent-ref %}

### Connect custom API resource

Let's start with implementing **Rest API**, select it from the list of available resources, and specify the general information that will use for all API requests for this resource:&#x20;

* **Resource name** – unique name that indicates API resource in Jet Admin.
* **Base URL** – URL that will use for all requests for this resource (if you want to use different URL, create different resources for each URL).
* **Authentication** –  used to authenticate requests: [Bearer token](https://docs.jetadmin.io/user-guide/integrations/rest-api/bearer-token), [Basic Auth](https://docs.jetadmin.io/user-guide/integrations/rest-api/basic-authentication), [OAuth 2.0](https://docs.jetadmin.io/user-guide/integrations/rest-api/oauth-2.0).

![](https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQ08RFAKZvFADEiXKFy%2F-MEEy8r9TeZrjti2WcdH%2F-MEF0ooHWOzlsbGq1cEl%2Fimage.png?alt=media\&token=877903df-16f6-4cd0-b3e8-bd0284ae3504)

Once you have connected a REST API, you will need to configure the requests in the Data Editor. For more information, please look at the [Data Editor documentation here:](https://docs.jetadmin.io/user-guide/data/make-an-http-request)

{% content-ref url="../data/make-an-http-request" %}
[make-an-http-request](https://docs.jetadmin.io/user-guide/data/make-an-http-request)
{% endcontent-ref %}


---

# 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.jetadmin.io/user-guide/integrations/rest-api.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.
