Pre-built Klips enable you to quickly set up a dashboard using predefined visualizations that display common key metrics. Xero pre-built Klips are found in the Klip Gallery or, for White Label customers, in the Integration Gallery.
To connect your Xero data to a pre-built Klip from the Klip Gallery, you will need:
- Your Xero login credentials
To add a Xero pre-built Klip to your dashboard:
- In an open dashboard, click Add a Klip.
- In the Klip Gallery, select Xero.
- Find the Klip you want and click Add to Dashboard.
- Click Done.
- On the Xero Klip, click the 3-dot menu and select Connect your data.
- If this is your first time connecting to Xero:
- Select Connect new account from the drop-down list. Click Connect Now. Enter your Xero login credentials and click Log in. If prompted, click Allow access to allow Klipfolio to access your Xero data. Click Next Step. Continue with step 8, below.
- Select an existing connection you want to use and click Next Step. Continue with step 8, below.
Managing your Xero connection
By default, your connection name looks like this: yourname@Xero<date and time created>. You can modify the default connection name when you create a new connection or from your list of connections, accessed by clicking your Account Name (located at the bottom of the left navigation sidebar) and selecting Account > Connected Accounts or by clicking the button in the left navigation sidebar and selecting Connections.
You can use and reuse the same account connection every time you connect to Xero. If you have trouble accessing an existing connection, your OAuth token may have expired. If that happens to you, check out these troubleshooting tips.
Editing Xero pre-built Klips: Adjusting default field names
Our pre-built Xero Klips refer to Xero data using default field names. If your Xero account uses a different field name (for example, if you changed the field name) for a field used in a Xero Klip, you'll need to make the corresponding change in the Xero pre-built Klip (after adding it to a dashboard) by editing its XPath.
The following example changes the references for "Current Assets" and "Accounts Receivable" to "Assets" and "Trade Debtors" in the Xero Accounts Receivable and Payable Klip template:
- After connecting to your own data for the Xero Accounts Receivable and Payable pre-built Klip, click its 3-dot menu and select Edit.
- In the Klip Editor, select the Accounts Receivable Value subcomponent field you want to edit.
- In the formula bar, select the field that references Accounts Receivable in the data source (value).
- Click XPath to open the XPath editor.
- In the XPath editor, change:
//*[Row[Title = "Current Assets" ]]//Row/Cells[descendant::Value="Accounts Receivable"]/Cell/Value
//*[Row[Title = "Assets" ]]//Row/Cells[descendant::Value="Trade Debtors"]/Cell/Value
- Click Simple to close the XPath editor.
Multiple references to the same value can be copied and pasted within the formula editor (that is, without editing the XPath).
For more information on JSON data sources and the XPath editor, see About JSON and XML data sources.