Introduction
This guide outlines the process for linking your Anrok account with WooCommerce. This will allow you to automatically synchronize WooCommerce transactions with Anrok tax return filings.
Step 1
Add the Anrok Extension
The first step to integrating WooCommerce with Anrok is to install the Anrok Extension to WooCommerce, on WordPress.
- Log in to WordPress (or log in to WooCommerce, go to My Stores and select Manage store).
- In the left navigation bar, select WooCommerce > Extensions.
- Search the Marketplace for Anrok and select the Anrok extension tile.
- On the Extension's detail page, select Add to store.
Step 2
Create a WooCommerce API key
Try creating a WooCommerce API key in the demo above ☝️
- In WordPress, in the left navigation bar, select WooCommerce > Settings.
- Under WooCommerce Settings, select the Advanced sub-tab.
- Select REST API keys and click Add key.
- Enter the following values:
- In the Description field, enter
Anrok Tax Engine. - For the User field, select an administrative user.
- For Permissions, select Read/Write.
- In the Description field, enter
- Click Generate API key.
- Copy the Consumer key and Consumer secret to a secure location. You will need these values to complete Step 3.
Step 3
Connect to WooCommerce
The next step is connecting your WooCommerce store through the Anrok Data sources dashboard.
- In the Anrok app
, go to Data Sources. Take me there!
- Click Integrate system.
- Under Data source, select WooCommerce.
- Enter your WooCommerce store's URL, along with the Consumer key and Consumer secret from Step 2.6.
- Click Connect.
Step 4
Add WooCommerce products as Anrok Product IDs
In Anrok, your WooCommerce products will be called Product IDs. These Product IDs are the key drivers for calculating taxability. It's important that you add your current and previous WooCommerce products into Anrok. See What are product IDs?
Try adding your WooCommerce products in the demo above ☝️
- Under New products detected, select a corresponding Product type and Tax category for each product detected. See Select a tax configuration for a complete list of available Anrok tax categories.
- If you'd like to assign a Product type and Tax category to multiple products at once, click the checkbox
next to each product, then select Batch assign.
- Make sure to select a Default product and Shipping cost product.
- When you are finished, scroll down and click Continue.
Step 5
Import your WooCommerce Transactions
Now that you've assigned all of your product IDs, you can begin importing your historical transactions from WooCommerce into Anrok.
Try importing your WooCommerce transactions in the demo above ☝️
- Under Select transactions to import, select one of the following options:
- Import all past transactions — all transactions will be imported into Anrok. This will result in a complete picture of your economic nexus exposure.
- Import transactions from a specific date — some past transactions will not be imported into Anrok. This may result in an incomplete picture of your economic nexus exposure to date.
- Continue without importing past transactions — none of your historical transactions will be imported into Anrok. This may result in an incomplete picture of your economic nexus exposure.
- Select Import transactions(or Mark as finished depending on your previous selection).
- When your transactions have finished importing, click Mark complete.
Step 6
Create an Anrok API Key
WooCommerce requires an Anrok API secret to authenticate its communication with Anrok and send live transaction data. This prevents users outside of your WooCommerce instance from adding unauthorized transactions to your Anrok account.
- In the Anrok app
, go to Data sources. Take me there!
- Under Integration sources, click the option menu button
next to WooCommerce, then select Manage Anrok API key.
- Select Generate Anrok API key, then copy
the API key.
- When you are finished, click Done.
Step 7
Enter the Anrok API Key in WooCommerce
- Log in to WordPress.
- In the left navigation bar, select WooCommerce > Settings > Tax > Anrok.
- Paste in the Anrok API key that you generated in Step 6.3.
- Click Save changes.