# AWS Lambda Extension

This guide goes over integrating Nimbus with the [Datadog Lambda Extension](https://docs.datadoghq.com/serverless/libraries_integrations/extension/)

## Steps

1. Go to the lambda that you want to forward logs from
2. Add the following environmental variables to lambdas you want to add logs to

   ```yaml
   DD_OBSERVABILITY_PIPELINES_WORKER_LOGS_ENABLED: true,
   DD_OBSERVABILITY_PIPELINES_WORKER_LOGS_URL: $YOUR_NIMBUS_ENDPOINT
   ```
3. Update your lambda function
4. That's it - you're done. Nimbus is now optimizing your logs!
