We are happy to introduce our new platform feature: App Settings!
With App Settings, you can securely store secret credentials, sensitive information, or any other configuration information outside of the app source code and use them seamlessly within your app. Think of App Settings as environment variables accessible across all published versions of your app. This feature allows developers to set confidential data as environment variables during app submission in the App Management Portal instead of hard-coding them.
If you need to update credential values after submitting your app to the Freshworks Marketplace, you can do so directly on the app details page. The updated credential values will then apply to all existing versions of the app that utilize the App Settings functionality. Please note that updating settings no longer requires an app upgrade or review, resulting in a faster turnaround time.
This eliminates the need to republish a new app version every time you need to update these credentials.
Centralized configuration: Manage your app’s critical information outside of the source code, making it easier to update and maintain.
Enhanced security: Our platform’s encrypted environment keeps sensitive data secure in your app, making it accessible only within your app’s execution environment.
Dynamic updates: You can update configuration settings quickly without redeploying your app, ensuring minimal downtime and swift adjustments.
Validation on updates: Use a new app setup event to validate the app settings values before they take effect. This ensures that only valid changes are applied, maintaining the stability of your apps in production.
Get started with App Settings in just three steps:
Define the app settings in your app.
Use these settings in your app and test them in your local environment.
Add values for your defined app settings in the App Management Portal and publish your app.
For more detailed instructions on how to use App Settings, please refer to our documentation.
Happy coding, and we can’t wait to see what you build next!
I was also curious if it is accessible via frontend using client object or can be accessible only via events and SMI since the information is mostly secure. Could be useful for feature flagging settings
I have questions over the review process of the app when it is submitted with app_settings.
Are we expected to provide the secrets to the QA review team?
Is there is a safe way to transfer these secrets?
How do we ensure that these tokens/secrets are not misused?
The app settings feature is launched with the 9.2.0 FDK version, which is the minimum required version, as you guessed. Let me ensure it’s updated in our documentation.
Let me answer your other queries.
Yes, currently, we do not automatically make app settings values available to the app reviewers. You will have to provide the App settings secrets to the app review team if they cannot generate one themselves with a third party or some instructions.
The short answer is NO. You can share the secrets by email with the app reviewers. They will also be handled like the app file and iparam sharing were handled before and now. If possible, please share the instructions with the app reviewers so they can generate the required app settings themselves. So, they safely fetch it themselves.
The Freshworks privacy policy applies throughout our platform, including the app review process. So, it’s our responsibility to ensure any secrets/tokens shared are kept safely and not misused.
The documentation states “These credentials are defined as environment variables within the app code, and their values are set on the app details page when submitting the app to the Freshworks Developer portal.” It’s not clear to me how the app settings are used within server.js. Are they accessed just like key-value in the data store? Are they accessed as process.env values? Is there some example code? The documentation is not clear at all in this respect.