# Connecting to Eloqua using Astera REST API

Follow the steps below to connect to Eloqua using Astera REST API:

1. Drag-and-drop the *REST Client* object on the designer from the *Services* section in the toolbox. If you are unable to see the Toolbox, go to *View > Toolbox* or press *Ctrl + Alt + X*.

![](/files/Gpstp7Gzj9rEgUt5Z6Vl)

2. Double-click on the *REST Client* object to go to the *Properties* window.

![](/files/Z531IbwjMo7xMZ1Kawqw)

![](/files/xPcIxlENvllAvM6Zs69Y)

3. In the *REST Request* section, specify the *HTTP Method* (GET, PUT, POST, DELETE) and specify the *Base URL*. In this case, it will be the base URL used by Eloqua ([https://login.eloqua.com](https://login.eloqua.com/)).
4. Provide the resource/API endpoint you want to work within the space provided next to the *Resource* section.

![](/files/E5W1ZWfDLCx7kmKofQZv)

5. Next, change the *Authentication* to *Basic*. It is set to *None* by default. Provide *User ID* (this is the ID that you have used to create the account on Eloqua), *Password,* and *Security Token*.

{% hint style="info" %}
**Note:** User Id will be in the following format:

*CompanyName/UserName (For example: AsteraSoftware/HassanAhsan)*
{% endhint %}

![](/files/L1a301pMMhGetMsFmLD9)

Following the steps mentioned in this article, you will be able to connect to Oracle Eloqua Marketing Cloud successfully using the Astera REST client.


---

# 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://documentation.astera.com/astera-data-stack-v7/web-services/connecting-to-eloqua-using-astera-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.
