> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bondata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Oracle Autonomous Database

> Connect BonData to Oracle Autonomous Database (ADW/ATP) using Oracle REST Data Services

Oracle Autonomous Database is a fully managed cloud database service that automates provisioning, patching, tuning, and backups. With BonData, you can connect to your Autonomous Data Warehouse (ADW) or Autonomous Transaction Processing (ATP) instance via Oracle REST Data Services (ORDS).

## Oracle Autonomous Database Setup

Follow these steps to configure OAuth credentials for BonData.

### Step 1: Enable ORDS (Oracle REST Data Services)

1. Log in to Oracle Cloud Console
2. Navigate to your Autonomous Database
3. Go to **Database Actions** → **REST**
4. Enable ORDS if not already enabled

### Step 2: Create an OAuth Client

1. In Database Actions, go to **REST** → **Security** → **OAuth Clients**
2. Click **Create OAuth Client**
3. Enter a name (e.g., `BonData Integration`)
4. Set **Grant Type** to `Client Credentials`
5. Note the **Client ID** and **Client Secret**

### Step 3: Get Your ORDS URL

Your ORDS URL is in the format:

```
https://{ADB_OCID}.adb.{REGION}.oraclecloudapps.com/ords/{SCHEMA}
```

Find this in Database Actions under **REST** → **Overview**.

### Step 4: Enter Credentials

Enter your Client ID, Client Secret, and ORDS URL in BonData.

## Required Fields

| Field             | Description                                     |
| ----------------- | ----------------------------------------------- |
| Client ID         | OAuth Client ID from ORDS Security settings     |
| Client Secret     | OAuth Client Secret from ORDS Security settings |
| Authorization URL | Your ORDS base URL from Database Actions        |
