# Salesforce OpenAPI

UI Bakery allows you to easily connect to Salesforce OpenAPI with no need for additional layers like APIs or third-party services.&#x20;

## Configuration

### Prerequisites

Before using the data source, please enable Salesforce Platform REST API, OpenAPI Spec Generation (Beta): <https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/openapi_beta.htm>

### Connecting Salesforce OpenAPI as a standalone data source

1. On the **Data sources** page, click **Connect**, and select *Salesforce OpenAPI* in the Data sources list.
2. Give your data source a name and specify the **Salesforce URL** (optional).
3. Click **Connect to Salesforce** and authorize the access in the Salesforce app.
4. Finally, click **Test connection** to check whether the connection can be established, and then click **Connect Datasource** to complete the setup.

<figure><img src="/files/NHbtRPJeGaqtLH0tbSPf" alt=""><figcaption></figcaption></figure>

***

## Usage

Once you've established the connection between UI Bakery and Salesforce OpenAPI, you can start interacting with its data.&#x20;


---

# 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.uibakery.io/reference/data-sources/salesforce-1.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.
