# ION to Xero

## Getting started

Follow the instructions below to automatically sync data between [ion](https://docs.violetlabs.com/apps/i/ion "mention") and [xero](https://docs.violetlabs.com/apps/x/xero "mention"):

{% stepper %}
{% step %}

### Create a <img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FO0xdpPUnQviWyjH8H1n6%2Fxero.png?alt=media&#x26;token=e1b3033b-9206-49f8-a056-adaebef74d62" alt="" data-size="line"> Xero integration

First, connect to Xero and create an integration (full instructions [here](https://docs.violetlabs.com/apps/x/xero)).
{% endstep %}

{% step %}

### Connect <img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FjEUUf71xOyb4XakXE8Lw%2Fion.png?alt=media&#x26;token=b2154d3d-d7c2-49fe-b327-405feddc422e" alt="" data-size="line">ION

Next, connect ION or ION Gov (full instructions [here](https://docs.violetlabs.com/apps/i/ion)).
{% endstep %}

{% step %}

### Configure ION integration and Xero sync

Once you are connected to ION, configure your data *fetch* (data coming into Violet), including:

* the types of data you want to fetch (make sure to select Purchase Orders)
* how often data should be fetched (scheduled vs. event-driven)

Last, configure your data sync to Xero (data that is synced to Xero), including:

* how often you want data to be synced
* allowable times for data to be synced (for example, only sync outside of business hours)
* any specific rules for what should be synced (for example, by release status)
* any custom fields or attributes
  {% endstep %}
  {% endstepper %}

## Observability

To learn more about monitoring performance and health & status of your data syncs, head to [observability](https://docs.violetlabs.com/features/workflows/observability "mention").
