Customising PhariaAssistant
You can customise PhariaAssistant in a number of ways to suit your specific needs. This article describes the available customisation options.
|
You now make customisations to PhariaAssistant with a PATCH request to the Existing customisations done with Helm chart values will be applied once during migration, but subsequent modifications to Helm chart values will not be taken into account. All future customisations must be made through the API endpoint. |
API endpoint for customisations
To customise a parameter in PhariaAssistant, you call the following endpoint:
PATCH /config/customization
The request body must contain a JSON object with the customisation parameters you want to update. Only include the fields you want to modify — all fields are optional.
Customisation options
Visual customisation
Colours
You can customise the colour scheme of the application. Omit keys as needed; only include those you want to customise.
{
"colors": {
"brand-bg-brand": "#your-brand-bg-brand-color",
"core-bg-accent": "#your-core-bg-accent-color",
"core-bg-secondary": "#your-core-bg-secondary-color",
"core-content-secondary": "#your-core-content-secondary-color",
"brand-content-brand": "#your-brand-content-brand-color",
"core-content-accent": "#your-core-content-accent-color",
"core-bg-primary": "#your-core-bg-primary-color",
"core-bg-tertiary": "#your-core-bg-tertiary-color"
}
}
Support and contact information
Legal and documentation links
Documentation link
You can provide a link to your custom documentation:
{
"documentation_link": "https://docs.yourcompany.com"
}
Feature configuration
Default applications
You can configure which of your custom applications appear as built-in apps in the "Apps built by Aleph Alpha" section instead of under "Apps built by {Company Name}" on the Apps page. Provide a list of application names that are to be categorised as default applications:
{
"default_applications": ["App Name 1", "App Name 2", "Custom Assistant"]
}
Example: Complete customisation request
The following is an example of a complete customisation request containing all fields with dummy values:
{
"colors": {
"brand-bg-brand": "#your-brand-bg-brand-color",
"core-bg-accent": "#your-core-bg-accent-color",
"core-bg-secondary": "#your-core-bg-secondary-color",
"core-content-secondary": "#your-core-content-secondary-color",
"brand-content-brand": "#your-brand-content-brand-color",
"core-content-accent": "#your-core-content-accent-color",
"core-bg-primary": "#your-core-bg-primary-color",
"core-bg-tertiary": "#your-core-bg-tertiary-color"
},
"fonts": {
"family": "Roboto",
"size": "16px"
},
"support_email": "support@yourcompany.com",
"support_phone": "+1-234-567-8900",
"documentation_link": "https://docs.yourcompany.com",
"help_center_link": "https://help.yourcompany.com",
"help_center_enabled": true,
"imprint_link": "https://yourcompany.com/imprint",
"default_applications": ["App Name 1", "App Name 2", "Custom Assistant"],
"create_your_own_enabled": true
}