Skip to main content
In the embedded model, you integrate the sync setup into your own product. You manage the consumers through the Chift API, and you decide where and when your end-user opens the setup page. This model requires development on your side. In exchange, you control the experience.

How it works

An embedded sync has one fixed side and one side that your end-user chooses.
Your software is the fixed side of the sync: it is the same for every end-user. The Chift sync runs the flows. The other side is chosen by your end-user: their software, for example accounting, selected in a list of connectors such as Pennylane, Exact Online and Odoo. The connector choice appears in your own interface or on the Chift connector picker. Optional pre-OAuth2 add-on: your backend creates the connection to your own software with the credentials of the end-user, and your end-user then connects only their software.

An embedded sync: your software is the fixed side, and your end-user chooses the other side.

  • Your software is the fixed side. It is the same for every end-user, so your end-user does not choose it.
  • Your end-user chooses the other side: the connector of their own software, for example their accounting software.
  • You choose who shows the connector choice: your own interface, or the Chift connector picker. See Two ways to present the choice.
  • Pre-OAuth2 is an optional add-on. Your backend creates the connection to your own software, so your end-user connects only their software. See Pre-OAuth2.

What you decide

The embedded model gives you control over these points:
  • Where the sync configuration appears in your product.
  • When to trigger the sync from your product.
  • How to manage the executions of the sync from your product.
  • Whether to show the execution logs to your end-users in your product.

What you build

You build three calls.
1

Create the consumer

One consumer per end-user. Store the returned consumerid on your end-user record.
2

Create the activation link

Call Chift with the consumerid and the syncid. The call returns a URL secured by a token.
3

Send your end-user to the link

Redirect your end-user to the URL, or email it. Your end-user connects their software and completes the mappings on the Chift-hosted page.

Next

Activating a sync

Every step with the API calls, and the two connector pickers.

Activation links & redirects

The activation link, connector pre-selection, and the redirect.

Pre-OAuth2

Create the connection to your own software for your end-user.