You take a third-party integration into use in Vetera in three steps. First, add the integration application. Then give the integration user its permissions, and add a webhook that triggers the integration.
Add the Integration Application
In Vetera, go to Settings > Integrations > Open API access.
Select Add application. A dialog opens.
Find and select the integration you want to add.
Select Save. Vetera sends the credentials to the company that makes the integration automatically. Vetera also adds a new virtual user and a permission group with the name of the integration.
Set the Permission to the Integration User
Go to Settings > Users > Permission groups.
Find the permission group with the same name as your integration.
Select the shield button at the end of the permission group row and set the following permissions to the permission group. Remove the default permissions that are not on the list.
General: Patients and clients (read)
General: Consultations and its items (read and write)
Financial: Invoices (read and write)
Profile: User profile page (read)
Settings: Tags (read and write)
Add the Webhook to Trigger the Integration
Go to Settings > Integrations > Webhooks.
Select Add and configure the following parameters:
Trigger: Select the event that triggers the integration.
Name: Add the name of the integration.
Content type: Select the appropriate content type.
URL: Add the integration URL.
Clinic location: Select a clinic location in which the integration is used or leave blank to use in the whole organization.
The integration now runs each time the selected event happens.
