App Settings
Configure your application's settings and preferences.
Overview
App Settings provides a centralized location for managing your application's configuration, general settings, and danger zone operations like deletion.
Concepts
App Configuration
Key-value settings that control application behavior. These can be accessed by your functions and used to customize app functionality.
App Metadata
Basic information about your app including name, description, URLs, and status.
Access App Settings
- Navigate to your App in the Dashboard.
- Click Settings in the sidebar.
- View and configure app settings.
General Settings
App Information
View and edit basic app details:
| Field | Description | Editable |
|---|---|---|
| Name | Display name | Yes |
| Slug | URL identifier | No |
| Description | App purpose | Yes |
| Type | Custom or Built-in | No |
| Created | Creation date | No |
| Updated | Last modification | No |
Update App Info
- Navigate to Settings in your app.
- Edit the Name or Description fields.
- Click Save Changes.
URL Configuration
Configure app URLs:
App URL
The public URL where your application is accessible.
- Navigate to Settings.
- Find the App URL field.
- Enter the full URL (e.g.,
https://myapp.example.com). - Click Save.
Editor URL
The URL for the app's admin/editor interface.
- Navigate to Settings.
- Find the Editor URL field.
- Enter the editor URL.
- Click Save.
App Status
View and manage app status:
| Status | Description |
|---|---|
| Active | App is running and accessible |
| Inactive | App is disabled |
Activate/Deactivate App
- Navigate to Settings.
- Toggle the Active switch.
- Confirm the status change.
Deactivating an app disables API access but preserves all data and configuration.
Environment Variables
Configure environment variables available to functions:
- Navigate to Settings > Environment.
- Add key-value pairs:
- Key: Variable name
- Value: Variable value
- Click Save.
Environment variables are accessible in functions:
import os
def handler(request, context):
api_key = os.environ.get("API_KEY")
return {"api_key_set": api_key is not None}
Danger Zone
Actions in the Danger Zone are permanent and cannot be undone.
Delete App
Permanently delete your application:
- Navigate to Settings.
- Scroll to Danger Zone.
- Click Delete App.
- Review the warning about what will be deleted:
- All functions and their code
- All policies and roles
- All storage buckets and files
- All database tables and records
- All events and subscriptions
- All analytics queries
- Type the app name to confirm.
- Click Delete App Permanently.
Configuration
Setting Categories
| Category | Description |
|---|---|
| General | Basic app information |
| URLs | App and editor URLs |
| Environment | Environment variables |
| Danger Zone | Destructive operations |
Troubleshooting
Settings not saving
Problem: Changes to settings aren't persisting.
Solution:
- Click the Save button after making changes.
- Check for validation errors.
- Ensure you have permission to edit settings.
Cannot delete app
Problem: App deletion is blocked or fails.
Solution:
- Type the app name exactly as shown.
- Ensure you have admin permissions.
- Check for any active processes.
Environment variables not available
Problem: Functions can't access environment variables.
Solution:
- Verify the variable is saved in settings.
- Check the variable name matches (case-sensitive).
- Redeploy functions after adding new variables.
Related
Last Updated: January 2025