

# Publishing lineage from third-party and open-source sources

You can add lineage from systems outside AWS services to the same lineage graph. Use one of the following methods.


| Method | Use it for | How it works | 
| --- | --- | --- | 
| AWS Glue crawler | Snowflake and Databricks Unity Catalog | A crawler reads lineage from the platform on a schedule and sends it to AWS Glue Data Catalog | 
| PostLineageEvent API | Your own applications and tools | Your code sends OpenLineage events | 

## Dataset identity
<a name="catalog-lineage-third-party-dataset-identity"></a>

To connect third-party lineage with lineage from AWS services, the same dataset must have the same identifier:
+ For tables in the Data Catalog, use the OpenLineage naming for AWS Glue: namespace `arn:aws:glue:<region>:<account-id>` and name `table/<database>/<table>`.
+ For Amazon S3 locations, use namespace `s3://<bucket>` and name `/<path>`.
+ For other sources, follow the [OpenLineage naming conventions](https://openlineage.io/docs/spec/naming).