---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/flex/developer/config#article
headline: Flex Configuration
description: Configure your Twilio Flex instance using the Flex Configuration REST API or the appConfig.js object for self-hosted Flex UI deployments.
url: https://www.twilio.com/docs/flex/developer/config
inLanguage: en
dateModified: 2026-07-17T03:41:20.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Flex Configuration

> \[!WARNING]
>
> For Customers building HIPAA-compliant workflows with Flex UI, Customers are required to ensure that there is no PHI in any Properties of Configuration Objects. Details on Configuration Objects and Properties can be found on the official Flex UI [documentation](https://assets.flex.twilio.com/docs/releases/flex-ui/latest/overview/Config). To learn more about building for HIPAA compliance, please visit the latest requirements [here](https://docs-resources.prod.twilio.com/documents/architecting-for-HIPAA.pdf).

You can customize some aspects of Flex's appearance and behavior through configuration. There are two ways to manage Flex configuration:

* For Twilio-hosted Flex deployments (flex.twilio.com), use the [Flex Configuration REST API](/docs/flex/developer/config/flex-configuration-rest-api) to set configuration values.
* For customer-hosted Flex deployments, define configuration values in the [appConfig.js configuration object](/docs/flex/developer/config/appconfigjs) on your server, or via the [Flex Configuration REST API](/docs/flex/developer/config/flex-configuration-rest-api).
