# Configuring endpoint URLs for calls to AWS

For calls to AWS products that are used in Textual, you can configure custom URLs to use. For example, if you use proxy endpoints, then you would configure those endpoints in Textual.

The [environment variables](https://docs.tonic.ai/textual/textual-install-administer/configuring-textual/textual-env-var-configure) for custom AWS endpoints include the following:

* `AWS_S3_FORCE_PATH_STYLE` - Whether to always use path-style instead virtual-hosted-style for connections to Amazon S3. The default is `false`.

  This setting is only used if you configured either `AWS_ENDPOINT_URL` or `AWS_ENDPOINT_URL_S3`.
* `AWS_ENDPOINT_URL` - The URL to use for all AWS calls, including calls to Amazon S3, Amazon Textract, and Amazon SES v2. This global endpoint is overridden by service-specific endpoints.
* `AWS_ENDPOINT_URL_S3` - The URL to use for calls to Amazon S3. This overrides the global URL set in `AWS_ENDPOINT_URL`.
* `AWS_ENDPOINT_URL_TEXTRACT` - The URL to use for calls to Amazon Textract. This overrides the global URL set in `AWS_ENDPOINT_URL`.
* `AWS_ENDPOINT_URL_SESV2` - The URL to use for calls to Amazon SES v2. This overrides the global URL set in `AWS_ENDPOINT_URL`.


---

# 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.tonic.ai/textual/textual-install-administer/configuring-textual/general-instance-and-processing-settings/custom-aws-endpoint-urls.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.
