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