# Apache Cloud Stack

## Connection Requirements

{% stepper %}
{% step %}

### IP

Enter the IP address of your Apache Cloudstack instance.
{% endstep %}

{% step %}

### Port

Specify the port number for the connection. This field is optional and defaults to 8080.
{% endstep %}

{% step %}

### API Key and Secret Key

You will need to generate an API Key and Secret Key to authenticate the connection. Follow these steps to create them:

* Log in to Apache Cloudstack as the "admin" user.
* Navigate to the Accounts section.
* Select a user within the account and click on View User.
* Click on Generate Key and copy both the API Key and Secret Key.
  {% endstep %}

{% step %}

### Proxy

Proxy URL (optional).
{% endstep %}

{% step %}

### SSL

Choose whether to use SSL for secure connections. By default, the connection is unencrypted, but you can enable SSL for added security.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ **Attention**

Please perform a **connection test** to ensure there is a valid connection to the host. When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/apache-cloud-stack.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.
