# Can I embed Great Expectations in another Application?

**URL:** <https://discourse.greatexpectations.io/t/can-i-embed-great-expectations-in-another-application/370>\
**Category:** Archive\
**Created:** [September 3, 2020, 2:11pm UTC](https://discourse.greatexpectations.io/t/can-i-embed-great-expectations-in-another-application/370 "2020-09-03T14:11:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhcastleton](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/bhcastleton/32/73_2.png) [@bhcastleton](https://discourse.greatexpectations.io/u/bhcastleton)\
**Post date:** [September 3, 2020, 2:11pm UTC](https://discourse.greatexpectations.io/t/can-i-embed-great-expectations-in-another-application/370/1 "2020-09-03T14:11:03Z")

</div>

What if I want Great Expectations to run inside of an existing application? For example, if I want it to run within a Dag Runner like Dagster or Airflow, or inside a platform like Ascend, or even inside a proprietary Data Quality Application, is it possible?

Some of the next order follow on questions include the following:

1. Can we access the expectation library in a store so they can be called from another application?
2. Can we invoke Great Expectations as a function inside another application?
3. Can we output validation results inside another application?

---

<div class="post-metadata">

**Author:** ![eugene.mandel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/eugene.mandel/32/22_2.png) [@eugene.mandel](https://discourse.greatexpectations.io/u/eugene.mandel)\
**Post date:** [September 4, 2020, 2:01am UTC](https://discourse.greatexpectations.io/t/can-i-embed-great-expectations-in-another-application/370/2 "2020-09-04T02:01:28Z")

</div>

Yes, many teams run Great Expectations inside pipeline execution/DAG runners.

Here is an example that shows how to run it inside Airflow: [https://github.com/superconductive/ge\_tutorials/tree/main/ge\_dbt\_airflow\_tutorial](https://github.com/superconductive/ge_tutorials/tree/main/ge_dbt_airflow_tutorial) It addresses your questions.  
ease see the Airflow example.

---

<div class="post-metadata">

**Author:** ![anthony](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/anthony/32/68_2.png) [@anthony](https://discourse.greatexpectations.io/u/anthony)\
**Post date:** [September 4, 2020, 1:21pm UTC](https://discourse.greatexpectations.io/t/can-i-embed-great-expectations-in-another-application/370/3 "2020-09-04T13:21:33Z")

</div>

We also recently made a guide on Deploying Great Expectations with Airflow which you can find here: [https://docs.greatexpectations.io/en/latest/guides/workflows\_patterns/deployment\_airflow.html](https://docs.greatexpectations.io/en/latest/guides/workflows_patterns/deployment_airflow.html)
