Skip to main content

Getting-started journey · Make

Connecting Priority to the LeonAI app in Make

By the end you will have a working connection to Priority in Make, and can use every LeonAI Priority ERP module.

24 stepsAbout 20 minCustomers and partners connecting Priority to Make

Choose a part to open.

Part 1 · Step 1Allowing LeonAI’s addresses in your firewall5 min · Your IT person

LeonAI reaches Priority from three fixed IP addresses. If your server is behind a firewall, allow them.

IP addresses
Port
1

Give your IT person the three addresses

Ask them to allow incoming access in your organization's firewall from LeonAI's three IP addresses, on port 443.

Give your IT person the three addresses

Your IT person confirmed that the three addresses are open on port 443.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: A Priority user with an API licenceTo the next part
Part 2 · Steps 2–4A Priority user with an API licence2 min · Priority system manager

LeonAI works in Priority as one user. That user must have an API licence.

2

Open System Users

System Management › System Maintenance › Users › Users

Open System Users

The System Users form is open.

3

Open the user's permissions

Select the user you will connect and open the User's System Privileges tab.

Open the user's permissions

The User's System Privileges tab is open.

4

Make sure “API License” is checked

Go to License and make sure the API License box is checked.

If the box is not checked, the user cannot be connected. Contact your Priority administrator before you continue.

Make sure “API License” is checked

The “API License” box is checked for the user.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: The Priority API addressTo the next part
Part 3 · Steps 5–9The Priority API address2 min · Priority system manager

One address from Priority, and the three connection values inside it: the server address, the settings file and the company name.

5

Open System Management

In Priority's top menu, click System Management.

Open System Management

The System Management menu is open.

6

Open “Send Link to Activate Software”

System Maintenance › Users › Send Link to Activate Software

Open “Send Link to Activate Software”

A “Request Type” window opens.

7

Choose API and confirm

Check API and click OK.

Choose API and confirm

A “Parameter Input” window opens.

8

Check “Display link” and confirm

Check Display link and click OK.

Check “Display link” and confirm

A window with the address opens.

9

Copy the address in one piece

Select the full address and copy it (Ctrl+C).

In the window the address breaks over two lines. Copy it as one piece. Priority also emails it to the system manager, and it is easier to copy from there.

Copy the address in one piece

The full address, ending in the company name, is on your clipboard.

What is in the address

The address you copied splits into three values you need for the connection:

https://p.priority-connect.online/odata/Priority/tabdemo1.ini/usdemo
Server addressAlways starts with https://
Settings fileIn Priority Cloud it is never tabula.ini
Company nameThe code of your company environment, not its trading name

Paste your address into the address checker — it splits it for you →

Stuck? 1 known situation at this step

There is no System Management in my Priority menu

Your user does not have system manager rights

The address can only be produced from the System Management menu.

  1. Send the link to this page to your organization's Priority administrator.
  2. They can produce the address in two minutes and send it to you.
Didn't find your situation? Write to us.WhatsApp (opens in a new window)care@leonai.io
Next: Personal access token (PAT)To the next part
Part 4 · Steps 10–15Personal access token (PAT)3 min · Priority system manager

A token that lets LeonAI act in Priority as the user with the API licence.

10

Open the REST tokens

System Management › System Maintenance › Users › REST Interface Authentication Tokens

Open the REST tokens

The “REST Interface Authentication Tokens” form is open, with the list of existing tokens.

11

Create a record and check “Create Token”

Click + New, and in the new form check the Create Token box.

Create a record and check “Create Token”

A message about saving the token appears.

12

Confirm the warning

In the message You must save the token before leaving the line, click OK.

Confirm the warning

The message closed, and Priority filled in the token name.

13

Copy the token now

Right-click the token in the Token Name field and choose Copy (or Ctrl+C). Keep it somewhere safe.

This is the only moment the full token is shown. Once you leave the line, it is hidden.

Copy the token now

The full token is on your clipboard, and you have not left the line yet.

14

Choose the user with the API licence

In the User Name field, choose the user you checked. You can also add a description, for example LeonAI.

Choose the user with the API licence

The user with the API licence is selected in the User Name field.

15

Save and go back to the list

Make sure the Active? box is checked and click Back to list.

Save and go back to the list

The new token appears in the list, hidden.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: Opening forms to the APITo the next part
Part 5 · Steps 16–18Opening forms to the API3 min · Priority system manager

LeonAI sees only the forms that are open to the API. Start with the FORMLIMITED form, and open more forms as needed.

16

Open “Forms for Limited/API License”

System Management › System Maintenance › Licenses › Forms for Limited/API License

Open “Forms for Limited/API License”

The form is open.

17

Open FORMLIMITED to the API

Find the FORMLIMITED form and check its API box.

Open FORMLIMITED to the API

On the FORMLIMITED row, the API box is checked.

18

Open more forms as needed

In the same form, open every form you will work with to the API, for example CUSTOMERS.

Every form you will work with is marked for the API.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: LeonAI tokenTo the next part
Part 6 · Steps 19–20LeonAI token1 min · LeonAI account owner

The token that identifies your LeonAI account. It is in the dashboard, and was also emailed to you when you signed up.

19

Sign in to the dashboard

Sign in to dash.leonai.io with your user.

The dashboard is open.

20

Copy the API Token

On the API Token card, click the copy button.

On the free plan, the token includes 250 transactions a month.

Copy the API Token

The token is on your clipboard.

Stuck? Write to us at this step
Stuck at this step? Write to us, and we will help.WhatsApp (opens in a new window)care@leonai.io
Next: Creating the connection in MakeTo the next part
Part 7 · Steps 21–24Creating the connection in Make3 min · Whoever builds the scenario in Make

Add a LeonAI Priority ERP module to a scenario, and create a connection from six values.

21

Add a LeonAI Priority ERP module

In the scenario click +, search for LeonAI Priority ERP and choose any module.

The app is already available in Make. There is nothing to install.

Add a LeonAI Priority ERP module

The module is on the canvas and its settings window is open.

22

Open “Create a connection”

In the Connection field, click Create a connection.

Open “Create a connection”

A window with six fields opens.

23

Fill in the six fields

Fill them in using the table below.

Field in MakeWhat to enter
TokenLeonAI tokenLeonAI token →
API URLServer address + /odata/Priority/The Priority API address →
Company NameCompany name — the last part of the API addressThe Priority API address →
tabula.iniSettings file — the second-to-last partThe Priority API address →
API UsernameThe personal token from “REST Interface Authentication Tokens”Personal access token (PAT) →
Password
Always the word PAT, in capitals

All six fields are filled in.

24

Save

Click Save.

Save

The connection is created and appears in the Connection field.

WebSDK modules The connection is the same, except for API URL: instead of /odata/Priority/, add /wcf/service.svc to the server address.
Stuck? 3 known situations at this step

Login error when saving the connection

The user name or password is wrong

In Make, the user name is your personal access token from Priority, and the password is always the word PAT.

  1. In the API Username field, paste the token from “REST Interface Authentication Tokens”.
  2. In the Password field, type PAT in capitals.

We want to connect with a Priority user name and password, not a token

You can — as long as the user is marked as an API user

This guide connects with a personal access token (PAT). Connecting with a user name and password works only when the user is marked as an API user in Priority.

  1. Make sure the user is marked as an API user — A Priority user with an API licence.
  2. In the API Username field, enter the user's API user name. It is a separate field on the user's card and must be filled in; the regular Priority sign-in name will not work here.
  3. In the Password field, enter the user's regular Priority password. Stuck? Write to us and we'll help.

We have Priority Zoom, not Pro. Is the licensing the same?

Licensing is different in Priority Zoom

With Priority Pro, licensing is as on the website. With Priority Zoom, the API is opened in Priority through us, so the pricing is different.

  1. Write to us and we'll get back to you with the details.
Didn't find your situation? Write to us.WhatsApp (opens in a new window)care@leonai.io

The connection is ready

You can start building in Make with every LeonAI Priority ERP module. If something does not work, see Troubleshooting.