---
title: AP Automation Configuration
slug: ap-automation-configuration
icon: 📃
docTags: 
createdAt: 2023-11-13T18:20:00.336Z
---

## Requirements

The steps to set up an organization for AP Automation are:

1. Register with Gravity Software to use the AP Automation
2. Set up the Dataverse Search in the Power Platform
3. Create an organization specific email address to forward to gravity.

### Register with Gravity

Contact Gravity Sales to register for AP automation, you will need:

1. The Gravity URL [https://XXXXX.crm.dynamics.com](https://XXXXX.crm.dynamics.com)
2. Your email domain
3. Your Microsoft tenant ID

### Setting up the Dataverse Search

Microsoft has a built in search in search engine for Gravity. It must be enabled and certain tables added to it.

1. Go to [https://admin.powerplatform.microsoft.com/](https://admin.powerplatform.microsoft.com/) and select the proper environment
2. Select Settings->Product->Features
3. Under Search enable Dataverse Search

::Image[]{src="https://api.archbee.com/api/optimize/X2aA_MKMIQid52VOc-G4k/OeggWtVtmKyELn6JhkQon_.blob" size="82" width="743" height="229" position="center" alt="Setting up the Dataverse Search in Gravity" showCaption="false"}

You can learn more about configuring the search elements from the link. The following tables and fields must be included In the search index:

- Chart of Accounts
  - Account
  - Account Number
  - Account Name
- Entity Configuration
  - Entity Name
  - Name
  - Remit Entity Name
- Vendors
  - Vendor
  - Vendor Name
  - Vendor ID
- Vouchers Entry
  - Document Number
  - Vendor ID
  - Vendor Name
- Voucher Line Items
  - Account Number
  - Line Description &#x20;

### Setting up the forwarding email address

There are two ways of adding documents to the AP Automation engine. First they can be uploaded in the AP Automation portal. Second they can be emailed to a specific organizations address and then forwarded to the AP automation engine. This option allows vendors to email directly to the AP automation engine by sending the invoices to a customer specific email address. To use this option:

1. Set the email address to forward to [apautomation@gogravity.com](mailto\:apautomation@gogravity.com)
2. Edit any security policies that prevent emails to be forwarded.

### Office 365

a.    In Office 365 have a global admin go to [https://security.microsoft.com/antispam](https://security.microsoft.com/antispam)

b.     Click + Create policy and choose Outbound.



::Image[]{src="https://api.archbee.com/api/optimize/X2aA_MKMIQid52VOc-G4k/Jj24tpHFtydlGoRkYa4_k_.blob" size="54" width="477" height="223" position="center" alt="Create policy in Gravity" showCaption="false"}

d.    Give your new outbound spam filter policy a **Name** and **Description**.

e.    Click **Next** and search to find the user account you want to allow to forward, i.e. the email account that you are forwarding to Help Scout, which will display under the Users field after you select it. 

f.      Click **Next** again, scroll down to the *Forwarding rules* section, and click the dropdown under *Automatic forwarding rules*. Choose **On - Forwarding is enabled**, then click **Next.&#xA0;**&#x20;

g.    Review the settings on the last screen and click Create to create your new outbound policy for the specified user(s). 

