> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/automations/global-actions-and-action-groups/using-actions/how-to-export-import-and-deploy-actions-and-action-groups-between-organizations.md).

# How to export/import and deploy Actions and Action Groups between organizations

You can move Work-Relay components between organizations in 2 ways: Export/Import and Deploy.

## Export/import

{% stepper %}
{% step %}

### Export components

* Go to the list of components you want to copy to the new organization (e.g., Actions tab).
* Select items for export using checkboxes (1).
* Click Export button (2).
* Download and save suggested file.

![](/files/6fbb2980172bcf4b444da37e3ecff62548129028)
{% endstep %}

{% step %}

### Import components

* Go to your target organization.
* Go to the same list of items (Actions tab).
* Click Import button (3).

![](/files/314c3b16a7cef5d0d9573fb7afc4adca913ba075)

* Select a downloaded file in the proper form appeared.
* Confirm import.
* If all is OK, you will see the confirmation message.
  {% endstep %}
  {% endstepper %}

## Deploy

{% hint style="info" %}
Before deploying please make sure you have set up both organizations the same way: CSP Trusted Site URLs and CORS URLs. See details at [Initialize the Work-Relay environment in your organization](/administration/setup/complete-overview-of-setup.md#initialize-the-work-relay-environment-in-your-organization).
{% endhint %}

{% stepper %}
{% step %}

### Select components to deploy

* Go to the list of components you want to deploy to the new organization (for example Actions).
* Select items for deploy with checkboxes.
* Click Deploy button (4).

![](/files/e61b135a155733a0e8f5729e6a9657b51fc7aef2)
{% endstep %}

{% step %}

### Enter credentials

"Enter Credentials" form will be shown.

* Enter necessary information for log in:

![](/files/5c438cdb66bffdde3b4adda5a8db98a3201f1178)

**Environment**: type of the target organization - Sandbox, Production, Development or Other.

Other is used when:

* you need to deploy to another organization
* there are problems with logging in and you may need to manually enter your target organization Salesforce base URL. To get it go for your target org, switch to the classic mode and see URL in browser address bar. Base URL is the part which ends with "**salesforce.com**":

![](/files/f17ec532e17da0b4b97c6e76aebd0aced0e8827e)

* Enter User Name and Password. You may need to add also your security token to the password if your IP address is not in the trusted list.
* Click Next.
  {% endstep %}

{% step %}

### Select deployment items

Deployment tool will collect all related items and suggest them in the deploy list. You can deploy all from suggested list or select required items.

When you select some item all sub-items are selected automatically. If you need to select only one item use alt/option + click.

* For existing items you can select to create new or overwrite the existing one:

![](/files/7075fcfdb612c02065656b100c195658f3e12e0a)
{% endstep %}

{% step %}

### Review deployment status

* After the deployment you will see deployment result in Status column.
  {% endstep %}
  {% endstepper %}
