Modelence provides flexible configuration options for your application. You can configure your app through the startApp() function, environment variables, and Modelence Cloud settings.
# MongoDB connection stringMONGODB_URI="mongodb+srv://user:pass@cluster.mongodb.net/myapp"# Server configurationPORT=3000MODELENCE_SITE_URL=http://localhost## Modelence Cloud ConfigurationWhen connected to Modelence Cloud, you can manage configuration through the cloud dashboard at [cloud.modelence.com](https://cloud.modelence.com):1. Navigate to your application2. Select your environment3. Open the **Application** tab4. Configure settings like: - Email providers - Environment variables - Database connections - Custom configurationChanges made in the cloud dashboard are automatically synced to your application when it starts.### Connecting to Modelence Cloud```bashnpx modelence@latest setup --token <your_token>
This command creates a .modelence.env file with your cloud connection token.
See the Setup documentation for detailed instructions on connecting to Modelence Cloud.