> ## Documentation Index
> Fetch the complete documentation index at: https://docs.monk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring Services

> Update configuration and environment variables

## Add Environment Variables

```
add FEATURE_FLAG_NEW_UI to the frontend
```

Add new environment variables to services.

→ [Configuration & Wiring](/features/configuration-and-wiring)

## Change Configuration

```
change the database connection pool size to 20
```

Adjust service settings.

## Update API Configuration

```
update the Stripe webhook URL
```

Reconfigure third-party API integrations.

→ [APIs](/features/apis)

## Review Configuration

```
show me the full configuration
```

View complete system configuration.

## Change Service Settings

```
set the Redis cache size to 4GB
```

Modify service-specific settings.

## Update Connection Strings

```
change the Redis connection pool size to 50
```

Adjust connection settings.

## Rotate Secrets

```
rotate the database password
```

Update passwords and credentials securely.

→ [Security](/features/security)

## Update CORS

```
update CORS settings to allow requests from myapp.com
```

Modify networking configurations.

→ [Networking](/features/networking)

## What Monk Handles

**Automatic:**

* Connection strings
* Service URLs
* Internal networking
* Load balancer configuration

**You configure:**

* External API keys
* Feature flags
* Business logic constants
* Custom environment variables

## Zero-Downtime Updates

All configuration changes applied without downtime:

* Services restart gracefully
* Traffic shifted smoothly
* No user impact

## When Changes Apply

**Immediately:**

* Environment variables
* Connection settings
* Feature flags

**On next deployment:**

* Some infrastructure changes
* Major configuration updates

## Next Steps

* [Working with Databases](/prompting/working-with-databases) - Configure databases
* [Monitoring & Debugging](/prompting/monitoring-and-debugging) - Verify changes
* [Troubleshooting Issues](/prompting/troubleshooting) - Fix configuration problems
