🤜🤛 Expand and Enrich Your Partner Network with a Partner Discovery Platform
Docs Second
  1. Docs
  2. Run your marketplace
  3. Connect third-party services
How-to guide Operator

Connect third-party services

Second connects to outside services for maps, sending emails and text messages, audience measurement and signing in with a Google account. The operator also opens the API there and registers external applications. This page shows where each connection is made in the back office.

Last updated

Before you start

  • Super administrator access. The back office is the marketplace's administration tool. Most settings on this page are in Configuration › Features, sorted by group, and are reserved for the super administrator.
  • An account with each service. Create your account with the service concerned and get its credentials or key before entering them in Second.

Stripe payments are set up separately: see Manage payments. So is artificial intelligence: see Set up artificial intelligence.

Where is each service connected?

All the groups below are in Configuration › Features.

Service Group Settings
Maps and addresses (Google Places) Geo Google Place API key, Google Place server API key
Outgoing email server Notifications Outgoing mail server (DSN), From email
Text messages SMS SMS switch, text message provider credentials
Sign-in with Facebook or Google User SSO third apps Facebook app ID, Google app ID and their private keys
Captcha (hCaptcha or reCAPTCHA) Captcha providers Choice of service, then its keys
Cookie consent banner (CookieBot) Core CookieBot ID and key
Audience measurement (Google Tag Manager) Platform Configuration Google Tag Manager ID
Automatic content translation Translation Access to the translation service

Maps and address checking

With a Google Places key, address fields offer suggestions and listings are shown on a map. By default, a listing's map shows a 500-metre area around the location rather than the exact address. The operator can change this radius in Marker radius.

Can be turned on or off · off by default

Google checking of the addresses users enter (Validate addresses). The operator changes it in the back office, under Configuration › Features.

Emails and text messages

The outgoing email server is set directly in the back office, with no technical work. The From email address appears as the sender of emails. The content of messages is edited in Edit content.

Can be turned on or off · off by default

Sending text messages, including phone number verification. The operator changes it in the back office, under Configuration › Features.

Open the API

The Second REST API lets other software read and write the marketplace's data. In the Admin group, two settings control it:

  • API turns the API on or off;
  • API documentation opens or closes the interactive API documentation. It is closed by default on a production marketplace.

What the API can do is described in API introduction.

Register an external application

An external application gets access to the API through OAuth2, with its own key and secret.

  1. Open the list of applications. Click External Apps › Authorized Apps.
  2. Click Register a new application. Enter the Application name and the Application description, which users will see when they authorise it.
  3. Choose the access methods. In Application grants, tick the right method: access from one piece of software to another with no user, or access on behalf of a user who gives consent.
  4. Enter the addresses. Fill in Homepage URL and, for access on behalf of a user, Authorization redirect URLs (Space separated).
  5. Choose the scopes and save. In Application scopes, Private gives access to a user's data; Admin gives access to the administration API. Second then shows the Client Key and the Client Secret to pass on to the integrator.

Notify another system with a webhook

A webhook sends a message to the address of your choice when an event happens on the marketplace, for example a new booking. Webhooks are created in Configuration › Webhooks. The list of events and the message format are in Webhooks.