# Create APIs on top of your Xano database

Once you have created a Database and filled in data, you should create APIs for your Database in Xano. There are two options to create Endpoints in Xano:&#x20;

* Default CRUD operations endpoints&#x20;
* Create custom API endpoints

#### 1.1 Default CRUD operations endpoints

1. **Use Default CRUD operations endpoints**. Go to the **API tab** in Xano from the left menu and choose **Default** API Group and Copy **API Group Base URL to your clipboard, and let’s head over to Jet Admin!**

<figure><img src="https://images.surferseo.art/cbc95fa8-9555-4733-8477-4eaae10e07ce.jpeg" alt=""><figcaption></figcaption></figure>

#### **1.2 Create custom API endpoints**

To successfully create custom API endpoints, mark all API endpoints: Specify the **Description** field for each API endpoint.

First, go to **Add API Group** and fill in Name and Description. Next, click **Add API endpoint**.

<figure><img src="https://blog.jetadmin.io/content/images/2023/01/xano5.gif" alt=""><figcaption></figcaption></figure>

Fill the **Description** field of the API endpoint you want to use in Jet Admin with the following content:

* *For Get record list API endpoint:* Query all **TABLE** records
* *For Create record API endpoint:* Add **TABLE** record
* *For Delete record API endpoint:* Delete **TABLE** record
* *For Get one record API endpoint:* Get **TABLE** record
* *For Update record API endpoint:* Edit **TABLE** record

where **TABLE** is your Xano table name.

{% hint style="info" %}
Only endpoints with the specified **Descriptions will be imported** to Jet Admin. For example, if API endpoint – Get record list of Deals, in the Description field: **Query all deals records**.
{% endhint %}

### **Step 1.3: File upload API Endpoint (Optional)**

{% hint style="warning" %}
**Xano Files** attachments are only available in paid **Xano** plans
{% endhint %}

It's only possible to upload files to **Xano** file fields using **Xano Files** storage. If you have file fields in your **Xano** database then you need to connect **Xano Files** storage to **Jet Admin**. All **Xano** file fields will use **Xano Files** storage by default.

Jet Admin will automatically integrate with **Xano Files** storage if you have **Xano** an **/upload/attachment** endpoint when you connect to **Jet Admin.**&#x20;

{% hint style="info" %}
**Jet Admin** will look for **/upload/attachment** endpoint to integrate. \
If you already have it you can skip the following part.
{% endhint %}

If you don't have an **/upload/attachment** endpoint then follow these steps:&#x20;

* Go to your **API Group**
* Click **Add API endpoint**
* Create an endpoint by clicking **Upload Content** -> **Upload an attachment** -> **Save**

<div><figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FRWIJqyH3GYOyDcCJIKGX%2Fimage.png?alt=media&#x26;token=0019a996-e039-40fe-9a93-cd8a18987ccd" alt=""><figcaption></figcaption></figure> <figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FYpojSS8VrJMXwUmVWfnt%2Fimage.png?alt=media&#x26;token=587b048b-38d8-4876-9bb8-b20630fa9a71" alt=""><figcaption></figcaption></figure> <figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FR5hZW2Y7deUYlEMHt5yl%2Fimage.png?alt=media&#x26;token=2ca7e423-bebc-496a-a5cb-99646549e236" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F6ZY7QYHFOOF3anRWtZqM%2Fupload.gif?alt=media&#x26;token=b0b5686f-74b1-4024-a479-d841d5c2fda5" alt=""><figcaption></figcaption></figure>

Once you finish the steps you will have the following **/upload/attachment** which will automatically integrate when connecting to **Jet Admin.**

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F7nmdiNJmcViXurvqkKW3%2Fimage.png?alt=media&#x26;token=be339060-1cd8-4635-944e-706267983dbb" alt=""><figcaption></figcaption></figure>

###


---

# 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/xano/create-apis-on-top-of-your-xano-database.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.
