Awell Health Developer Hub
Dev Hub

Extension settings enables users to configure the extension when enabling it in Awell Studio. Additionally, it is a way to securely manage secrets that you potentially need in order to run your extension (eg: an API key). Extension settings can be accessed by all Custom Actions in your extension, webhooks can not yet access the settings but that will come soon.

Extension Settings

Extension Settings

Setting properties

Required properties

Name
key
Type
string
Description

A unique key that identifies your setting. You will use this key to access the setting in your extension code. We recommend using a camelCase string.

Name
label
Type
string
Description

A human-readable label for your setting. This is what will be showed to end-user in Awell Studio above the input.

Name
obfuscated
Type
boolean
Description

Whether the value entered by the user needs to be obfuscated or concealed. When set to `true`, the value entered by the user will be permanently hidden but the value can be overwritten if needed. Obfuscated settings are also encrypted before we store them to the database.

Optional properties

Name
description
Type
string
Description

A human-readable description of the setting. This is displayed as a sub-label underneath the label of the setting.

Name
required
Type
boolean
Description

Whether the setting is required in order to enable the extension. The default value is `false`.

Example

Code

01

Obfuscated setting

An obfuscated setting

API keys are typically settings you would like to be obfuscated.