> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/ai/features/api/cloud-database.md).

# Cloud Database

### **What you'll need**

* A cloud database with a REST API
* An API key or access token from your database provider
* Your API's base URL and endpoint structure<br>

***

### Video Guide

{% embed url="<https://www.youtube.com/watch?v=_FwCDqcmMUo>" %}

***

### Sample Prompt

Use the sample prompt below as a starting point, swapping in your own database name, record types, and API details. The more specific you are about what data you want to display and what actions users should be able to take, the better your generated app will be.

```
Build an app that connects to my [database name] via API. 
It should display a list of [records] on the home screen, allow users to [create/update/delete] entries, and sync changes in real time. 
Use [your API base URL] as the endpoint. 
Here is the sample code:
[sample request from the API doc here]
```
