Live on Cloud • Team • Business • Enterprise | Public Beta
Organizations on paid plans can prompt the app building agent to use resource environments in published apps. Resource environments enable you to run a function against different configurations of the same resource, such as staging and production, and were previously only available in Edit mode for apps.
Note
Published apps do not include an environment toggle by default.
Optionally, prompt the agent to add a UI element that allows app users to switch between resource environments.
Sample prompts
"When the user is not in the Finance Admin group, use the staging resource environment."
"I want to use this app across resource environments. Add a dropdown in the top right corner."
In addition, you can use the _environment URL query parameter to open an app in a different environment, such as ?_environment=staging. This URL parameter works automatically and does not require prompting.