# Where to place actions \> flows in "Import/Export Tenant Configuration to Directory Structure"

**URL:** <https://community.auth0.com/t/where-to-place-actions-flows-in-import-export-tenant-configuration-to-directory-structure/79186>\
**Category:** Get Help\
**Tags:** auth0-flows, cli, actions, auth0\
**Created:** [March 3, 2022, 6:15am UTC](https://community.auth0.com/t/where-to-place-actions-flows-in-import-export-tenant-configuration-to-directory-structure/79186 "2022-03-03T06:15:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akberiqbal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akberiqbal/32/35545_2.png) [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Post date:** [March 3, 2022, 6:15am UTC](https://community.auth0.com/t/where-to-place-actions-flows-in-import-export-tenant-configuration-to-directory-structure/79186/1 "2022-03-03T06:15:01Z")

</div>

So, looking for some guidance to store actions \> flows (like [Login](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow), [Post User Registration](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow) etc.) in a github repo

Unable to get guidance on it inside Auth0 docs: [Import/Export Tenant Configuration to Directory Structure](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure)

Would appreciate someone pointing me to the right direction… Thanks

**NOTE** : we already have the whole config in a repo which is deployable to Auth0 - want to try these action flows for a new requirement

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 3, 2022, 7:56pm UTC](https://community.auth0.com/t/where-to-place-actions-flows-in-import-export-tenant-configuration-to-directory-structure/79186/3 "2022-03-03T19:56:05Z")

</div>

Hi @akberiqbal,

Welcome to the Auth0 Community!

I understand that you would like to store the Auth0 Action scripts in a Github repo.

First, you will need to use the Auth0 Deploy CLI tool to [export your current tenant settings as a Directory Structure](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/deploy-cli-tool-options), as you have found. Below is the corresponding command you need for export:

```auto
a0deploy export --config_file config.json --strip --format directory --output_folder path/to/export

```

Once you have exported your tenant settings, the output folder will have an _Actions_ folder with your Action scripts. From there, you have the option to push the entire _Actions_ folder containing all the Action scripts, or you could selectively push the Action scripts you want to your Github repo.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/4/f4b4e7342b23c375b26e4c5f81a0dee8928277cd.jpeg)

Hoped this helps!

Please let me know if you need more clarification or have any questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![akberiqbal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akberiqbal/32/35545_2.png) [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Post date:** [March 3, 2022, 10:23pm UTC](https://community.auth0.com/t/where-to-place-actions-flows-in-import-export-tenant-configuration-to-directory-structure/79186/4 "2022-03-03T22:23:17Z")

</div>

> [@rueben.tiow](#):
>
> `a0deploy export --config_file config.json --strip --format directory --output_folder path/to/export`

Thanks for the reply, this was exactly what I needed plus this page: [Deploy CLI Tool](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/install-and-configure-the-deploy-cli-tool)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 18, 2022, 10:24pm UTC](https://community.auth0.com/t/where-to-place-actions-flows-in-import-export-tenant-configuration-to-directory-structure/79186/5 "2022-03-18T22:24:13Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
