> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/astera-data-stack-v7/web-services/connecting-to-eloqua-using-astera-rest-api.md).

# 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*.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FkrpWJYq5wRjzCa6XheYH%2F0.png?alt=media)

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

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FAREfaWXZpc7J7lBBUcur%2F1.png?alt=media)

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2F9Q2DyBM0nuDTJ6UtmRGb%2F2.jpeg?alt=media)

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.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FTKfNoG8P5AIc26Pd9J5U%2F3.jpeg?alt=media)

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 %}

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2Fbnq6pcLFtptp3yxktTjZ%2F4.jpeg?alt=media)

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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.astera.com/astera-data-stack-v7/web-services/connecting-to-eloqua-using-astera-rest-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
