# Secure Code Warrior

## Connection Requirements

{% stepper %}
{% step %}

### Domain

The domain of the Secure Code Warrior API endpoint.

> 🔵 **Default:**\
> portal-api.securecodewarrior.com

**Available options:**

* portal-api.securecodewarrior.com (US region)
* portal-api.eu.securecodewarrior.com (EU region)

If you are unsure which server your account is hosted on, please contact your Customer Success Manager or\
[Submit a support request](https://help.securecodewarrior.com/hc/en-us/requests/new).
{% endstep %}

{% step %}

### API Token

API access is disabled by default. Generate a new key from the\
**Administration → Platform configuration → Edit Company** dialog.

You need to have an **Admin API Key** and be a **Company Admin** to generate an Admin API key.\
If you cannot see the **Admin API** section within **Edit Company**, please contact your Customer Success Manager or\
[Submit a support request](https://help.securecodewarrior.com/hc/en-us/requests/new).
{% endstep %}

{% step %}

### HTTPS Proxy

HTTPS proxy URL. *(optional)*
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ **Attention**\
Please perform a **connection test** to ensure there is a valid connection to the Secure Code Warrior 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/secure-code-warrior.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.
