This page describes the steps for adding Glean to a project. This does not include the steps for adding a new metrics or pings to an existing Glean integration. If that is what your are looking for, refer to the Adding new metrics or the Adding new pings guide.

## Glean integration checklist

The Glean integration checklist can help to ensure your Glean SDK-using product is meeting all of the recommended guidelines.

Products (applications or libraries) using the Glean SDK to collect telemetry must:

1. Integrate the Glean SDK into the build system. Since the Glean SDK does some code generation for your metrics at build time, this requires a few more steps than just adding a library.

2. Go through data review process for all newly collected data.

3. Ensure that telemetry coming from automated testing or continuous integration is either not sent to the telemetry server or tagged with the automation tag using the sourceTag feature.

4. At least one week before releasing your product, file a data engineering bug to enable your product's application id and have your metrics be indexed by the Glean Dictionary.

Additionally, applications (but not libraries) must:

1. Request a data review to add Glean to your application (since it can send data out of the box).

2. Initialize Glean as early as possible at application startup.

3. Provide a way for users to turn data collection off (e.g. providing settings to control Glean.setUploadEnabled()). The exact method used is application-specific.

##### Looking for an integration guide?

Step-by-step tutorials for each supported language/platform, can be found on the specific integration guides: