> For the complete documentation index, see [llms.txt](https://docs.nimbus.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nimbus.dev/integrations/integrations.datadog/datadog.lambda-extension.md).

# 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!
