This page will show you how to get up and running with Truework Apply in under 10 minutes. With our server and client-side libraries, you can verify any employee.
Truework Apply is in Early Access
This section shows an early access version of the Truework Apply feature. Please reach out to Sales if you want to use it.
Step 1: Integrate with backend
First, you will need to install one of our Truework SDKs.
Then, import it into your code and configure it with your API token. You can create and access API tokens from your Truework account settings.
Once configured, the Truework library is ready to be used in your application code.
To access your Truework account, log in at https://app.truework.com/login.
Step 2: Create a new Verification
Import the Truework library and create a Verification. For convenient integration with Truework Apply, use our convenience methods.
Alternatively, you can create a Verification with additional
verification_options to include support for Truework Apply.
Whichever option you choose, hold on to your newly created
verification. It contains a token —
apply_token — that will be used by Truework Apply on the frontend.
Step 3: Integrate the frontend
The easiest method to Truework Apply into your frontend is to include our Truework.js library on all your pages. Insert a
<script> tag into each page, before the closing
If you want to leverage Truework’s advanced functionalities, it’s recommended to include the Truework.js script in every page.
Create a Truework.js instance
In your Truework account settings, create a Public Key. Use it to create a Truework.js instance in your frontend.
Create a Truework Apply instance
verification.apply_token from Step 2 — via API request, or another method of your choosing — and instantiate an instance of Truework Apply using your Truework.js instance.
Mount Truework Apply to a DOM node
Truework Apply can be mounted to any empty DOM node in your frontend.
Listen to lifecycle events
Truework Apply emits events to give developers fine-grained control of the application flow. For instance, you can use the
complete event to take over when Truework Apply has finished.
Step 4: Check the status of your Verification
You’re all set! Truework Apply will automatically handle Verifications of your customers. The status and results of Verifications can be accessed from your Truework account dashboard or by interfacing with the Truework API in your language of choice.
If you have webhooks configured for your application, you can use them to call your application code when the status of the Verification is updated.
Alternatively, using the one of our backend SDKs, you can attempt to retrieve the completed Verification Report. When it’s available it will return successfully.
For more about the API, please click here to read the full documentation.