Integrations

User guide · Administrator

Integrations

Connect OBS to other services: sign in with Microsoft or Google, send SMS, show maps, sign documents with Evrotrust, read exchange rates, check VAT numbers, file declarations, track vehicles and more.

Control Panel → IntegrationsSettingsSign inSMSMapsFinance

Before you start

  • Integrations are set up by an administrator. You need an account (or a contract) with the other service and the keys it gives you: an ID, a secret, an API key.
  • The keys are kept as settings of OBS. The most used ones have their own screen, Control Panel → Integrations; all of them are in the module Settings.
  • Most integrations need nothing more: fill in the keys, save, and the function appears. Some also need a scheduled task, a button or a module; each section below says what.
  • Not sure what your OBS uses, or need an integration that is not here? Ask OBS support (the icon Support requests in the menu).

I want to…

Where the settings are

Control Panel → Integrations

  1. 1Open Control Panel. In the group Access and integrations click Integrations. (The group is shown to administrators only.)
  2. 2Fill in the block of the service. The link Instructions in each block opens its section on this page.
  3. 3Click Save at the bottom of the tab.
Control Panel → Access and integrations → Integrations (the values are hidden).
The first four blocks: Microsoft Azure, Google, Microsoft Active Directory, GitLab (example values).
The other four: Twilio, Mandrill, Google Maps, Evrotrust, and Save at the bottom of the tab.
Important
Save writes every field of the tab, also the ones you did not touch, and an empty field is saved empty. Change one service at a time and check it right after saving.

The module Settings

Every key of every integration is a row of the module Settings: Control Panel → Admin menu → Settings (Admin menu). Type the name of the service in Quick search and press Enter: you see its keys, grouped in the column Group.

Settings with Quick search salestrail: the three keys of the group Salestrail (the values are hidden).
  1. 1Open the row of the key (the pencil).
  2. 2Enter the Value and click Save.
Important
The list Settings shows the value of every key that is not encrypted (column Encrypt = No). Give access to Settings only to administrators (Security).

All integrations at a glance

ServiceWhat it does in OBSWhere you set it
Microsoft AzureSign in with Microsoft; reading bank statements from a mailboxControl Panel → Integrations
GoogleSign in with GoogleControl Panel → Integrations
Microsoft Active DirectorySign in with the user name and password of your Active DirectoryControl Panel → Integrations
Authenticator appsTwo-step sign inSecurity
Twilio (SMS)Sending SMSControl Panel → Integrations
MandrillSending e-mail through MandrillControl Panel → Integrations
FirebasePush notifications to the mobile appmodule Settings
Google Meet, Microsoft Teams, ZoomMeetings as activities (in preparation)module Settings
Bulgarian National BankExchange ratesnothing to set
VIESChecking EU VAT numbersnothing to set
NRA (NAP)Filing D1, D6 and notifications of employment contractsmodule Settings
IntrastatIntrastat declaration and XML for the NRAnothing to set
Bank statements (MT940)Importing bank statementsmodule and scheduled task
RevolutRevolut Business accountsmodule Settings
Payhawk, ShellCard and fuel expenses into Expensesmodule Settings
Google MapsAddresses on a mapControl Panel → Integrations
HERE MapsRoutes, distances and tolls of transportmodule Settings
Frotcom, Wialon, LockTrackerGPS of vehicles and driving timesmodule Settings
ShipHeroOrders, products and shipments of an external warehousemodule Settings
EvrotrustElectronic signature of documentsControl Panel → Integrations and module Settings
GitLabProjects, issues and tracked time from GitLabControl Panel → Integrations
OpenAI, Anthropic, DeepSeekAI functionsmodule Settings
SalestrailPhone calls as activitiesmodule Settings

Sign in

Microsoft Azure (sign in with Microsoft)

Your people sign in to OBS with their Microsoft (Microsoft 365, Entra ID) account. When the block is filled in, the sign-in page shows a Microsoft button.

Where: Control Panel → Integrations → Microsoft Azure.

In the Azure portal

  1. 1Register an application (App registrations → New registration). Choose who may sign in: only your organization, or also other organizations.
  2. 2Redirect URI (type Web): https://INSTANCE.obs2go.com/oauth/oauth — your address of OBS instead of INSTANCE.
  3. 3Certificates & secrets: create a client secret. Write down the value and the date when it expires; renew it before that day.
  4. 4API permissions: Microsoft Graph, delegated, User.Read.
  5. 5From the page Overview copy the Application (client) ID and the Directory (tenant) ID.

In OBS

FieldSetting (key)What to enter
MS Azure ResourceAzureResourcehttps://graph.microsoft.com/User.Read
MS Azure Directory Tenant IDAzureTenantIDThe Directory (tenant) ID, for example xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
Token URL in MS AzureAzureTokenURLhttps://login.microsoftonline.com/{tenant}/oauth2/v2.0/token with your tenant ID.
Authorization URL in MS AzureAzureAuthURLhttps://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize with your tenant ID.
Application ID in MS AzureAzureClientIDThe Application (client) ID.
MS Azure Client SecretAzureClientSecretThe value of the client secret.
AzureScopeIn module Settings: the Microsoft Graph permissions, separated by commas, for example https://graph.microsoft.com/User.Read.
AzureMailboxIn module Settings: a mailbox from which OBS reads bank statements (MT940 files) through Microsoft Graph.
Tip
Test in a private window of the browser: the sign-in page must show the Microsoft button (First Steps → Sign in).

Google (sign in with Google)

Your people sign in with their Google account. When the block is filled in, the sign-in page shows Continue with Google.

Where: Control Panel → Integrations → Google.

  1. 1In Google Cloud Console: APIs & Services → Credentials → Create credentials → OAuth client ID (if asked, first set up the OAuth consent screen with the scopes email and profile).
  2. 2Application type: Web application. Authorized redirect URI: https://INSTANCE.obs2go.com/auth/google/callback.
  3. 3Copy the Client ID and the Client secret.
FieldSetting (key)What to enter
Google Authenticationgoogle_client_idThe Client ID, for example xxxxxxxx.apps.googleusercontent.com.
Google Secretgoogle_secretThe Client secret.
Google Callback URLgoogle_callbackhttps://INSTANCE.obs2go.com/auth/google/callback — the same address as in Google.

Microsoft Active Directory (LDAP)

People sign in on the normal sign-in page with the user name and password of your Active Directory; OBS checks them in the directory. Your OBS must be able to reach the directory server over the network.

Where: Control Panel → Integrations → Microsoft Active Directory.

FieldSetting (key)What to enter
Hostldap_hostThe address of the server, for example ldap://ldap.example.local.
Portldap_port389 (or the port of your server).
DOMAINldap_domainThe base of the search, for example dc=example,dc=local.
Admin DNldap_admin_dnThe account with which OBS reads the directory.
Admin Passldap_admin_passIts password.
Filterldap_filterWho may sign in, for example only the members of a group: (objectClass=user)(memberOf=CN=OBS,OU=Groups,DC=example,DC=local).

Authenticator apps (two-step sign in)

Two-step sign in works with Google Authenticator, Microsoft Authenticator and any other app that makes codes. It needs no keys: see Security → Two-step sign in and, for each person, First Steps → Two-step sign in.

Communication

Twilio (SMS)

OBS sends SMS through your account at Twilio.

Where: Control Panel → Integrations → Twilio.

FieldSetting (key)What to enter
Phone numbertwilio_phoneThe Twilio number that sends the SMS, for example +1000000000.
API Usertwilio_userThe Account SID: ACxxxx….
SMS Provider API URLtwilio_api_urlhttps://api.twilio.com/2010-04-01/Accounts/__sid__/Messages.json (leave __sid__ as it is).
SMS Provider Authentication tokentwilio_auth_tokenThe Auth Token of the account.

To test: a scheduled task with the function SendSMSToContact and the e-mail address of a contact as parameter sends an SMS to the phone of that contact (Scheduled Task).

Mandrill (e-mail)

Mandrill (Mailchimp Transactional) is a service for sending e-mail. The block keeps the sender address, a BCC address and the API key. Which e-mails go through Mandrill depends on the setup of your OBS: ask OBS support before you turn it on.

Where: Control Panel → Integrations → Mandrill.

FieldSetting (key)What to enter
Email Frommandrill_email_fromThe sender address, for example [email protected].
BCCmandrill_email_bccAn address that receives a hidden copy (optional).
API KEYmandrill_api_keyThe API key of Mandrill.

The mailboxes of the users and the system e-mail have their own settings: Email client.

Firebase (push notifications)

The OBS mobile app receives push notifications through Firebase Cloud Messaging. The key is fcm_api_key in the module Settings; the notifications are sent by a scheduled task: Notifications → Push, Mobile App.

Google Meet, Microsoft Teams, Zoom

The module Settings has groups for these three services (keys starting with google_meet_, teams_, zoom_): they connect the meeting platforms so that meetings become activities in OBS. This is being prepared; ask OBS support before you use it.

Finance and registers

Bulgarian National Bank (exchange rates)

OBS takes the fixing rates of the BNB into the module Currency.

Where: Nothing to set. In Currency, the left panel → Bulgarian National Bank fixing rates updates the rates now. To update them every day, activate the scheduled task UpdateExchangeRate BNB (function UpdateBNBExchangeRate).

Currency: the left panel with Bulgarian National Bank fixing rates.

VIES (EU VAT numbers)

OBS checks a VAT number in VIES, the register of the European Union, and fills in the company.

Where: Nothing to set. In the form of a company, click the bank icon next to Name or Unified identification code.

Companies: the bank icons next to Name and Unified identification code.
  • OBS checks the VAT number; if it is empty, it uses BG + the unified identification code.
  • A window shows the name and the address from VIES, and OBS fills in the VAT number, the name and the registered address.

NRA (NAP): declarations

From Payslips, Employment contracts and Civil contracts, OBS prepares and sends to the NRA the declarations D1 and D6 and the notifications of employment contracts, signed with a qualified electronic signature.

Where: module Settings: nap_api_env (test or prod), nap_api_key_test, nap_api_key_prod.

Intrastat

OBS makes the Intrastat declaration from your expenses and the XML file for the NRA.

Where: Nothing to set. In Expenses, the left panel → Intrastat.

Expenses: the left panel with Intrastat.

Bank statements (MT940)

OBS imports bank statements in the MT940 format: upload the file in the module of the bank statements, or let OBS read them from a mailbox (Microsoft Azure, key AzureMailbox). The scheduled task with the function ProcessBankStatements processes the uploaded files.

Revolut Business

Accounts and transactions of Revolut Business. You create the API connection in Revolut with a certificate (public key) and enter its data in OBS.

Where: module Settings, group Revolut: revolut_api_url, revolut_client_id, revolut_issuer, revolut_redirectUri, revolut_private_key. Ask OBS support to set it up.

Payhawk and Shell (card expenses)

OBS imports the card expenses from Payhawk, and the fuel card transactions and invoices from Shell, into Expenses.

Where: module Settings: groups Payhawk (payhawk_account, payhawk_api) and Shell (shell_api_key, shell_auth_basic, shell_petrol_payer_number). Ask OBS support to schedule the import.

Maps and logistics

Google Maps

Shows addresses on a map: the map icon next to an address field opens it.

Where: Control Panel → Integrations → Google Maps: the Google Maps API KEY (google_maps_api_key). The language of the map: google_maps_lang in the module Settings.

Create the key in Google Cloud Console (APIs & Services → Credentials) and limit it to the address of your OBS.

HERE Maps

Distances, routes and road tolls of transport orders, also for trucks.

Where: module Settings, group Here Maps: here_maps_api_key, here_maps_app_id, here_maps_url.

Frotcom, Wialon, LockTracker (GPS)

OBS takes from these GPS systems the positions of the vehicles and the driving times of the drivers.

Where: module Settings: groups Frotcom (frotcom_api_url, frotcom_user, frotcom_password), Wialon (wialon_login_url, wialon_token) and LockTracker (locktracker_user, locktracker_pass). Ask OBS support to schedule the import.

ShipHero

OBS sends orders, products and shipments to the ShipHero warehouse.

Where: module Settings, group ShipHero: ship_hero_api_key, ship_hero_refresh_key.

E-signature

Evrotrust

OBS sends PDF documents to Evrotrust for a qualified electronic signature and takes the signed copy back.

Where: Control Panel → Integrations → Evrotrust: Host (evrotrust_host), Vendor number, API KEY. In the module Settings also the days to sign and the e-mails for confirmations.

Everything about the setup and the flow: Digital Signature → Set up Evrotrust.

Development

GitLab

OBS imports projects, issues and tracked time from your GitLab.

Where: Control Panel → Integrations → GitLab: GitLAB Repository (the address of your GitLab), GitLAB User, GitLAB Password.

The import runs as the scheduled task GitLab Sync (function IssuePostRequest, address https://INSTANCE.obs2go.com/gitlab/import_projects_tasks_and_time_tracking).

Important
Never write a password in the parameters of a scheduled task: everybody who can open Main scheduler can read them. Keep passwords only in the keys of the integration.

For your own programs that call OBS, see API.

Other

AI (OpenAI, Anthropic, DeepSeek)

The AI functions of OBS, for example writing or improving the reply in the e-mail form and the AI chat, use the key of an AI provider.

Where: module Settings: openai_key, anthropic_key, deepseek_key.

Salestrail (phone calls)

OBS takes the calls from Salestrail and makes them activities of the employee and the contact.

Where: module Settings, group Salestrail: salestrail_api_url, salestrail_api_user, salestrail_api_password; the scheduled task Salestrail - call tracking sync (pull + process) runs the import.

Giphy

GIF pictures in the chat of OBS.

Where: module Settings: giphy_api_key.

FAQ

The Microsoft or Google button is not on the sign-in page.
Check that every field of the block is filled in and saved, and open the sign-in page again in a private window.
I saved one service and another one stopped working.
Save on the tab Integrations saves all its fields. Open the tab, check the values of the other service and save again.
Where do I get the keys?
From the other service: its administration or developer page. OBS does not create them.
Who can see the keys?
Everybody with access to Control Panel → Integrations or to the module Settings. Keep these for administrators.
The integration I need is not here.
Ask OBS support: many services can be connected through the API or a scheduled task.
Control Panel → Access and integrations → Integrations (the values are hidden).
The first four blocks: Microsoft Azure, Google, Microsoft Active Directory, GitLab (example values).
The other four: Twilio, Mandrill, Google Maps, Evrotrust, and Save at the bottom of the tab.
Settings with Quick search <i>salestrail</i>: the three keys of the group Salestrail (the values are hidden).
Currency: the left panel with Bulgarian National Bank fixing rates.
Companies: the bank icons next to Name and Unified identification code.
Expenses: the left panel with Intrastat.