Lucca to Okta integration: Okta users from employments and job positions in Lucca
With an integration between Lucca and Okta, every new employee in Lucca gets an Okta user with job title, department, entity and manager, and the status in Okta follows the employment in Lucca. A colleague with a future employment is staged in Okta, on the start date the user is activated and after the last employment it is deactivated.
Step 1IntakeQuestions a consultant has prepared for your systems.
Step 2Detailed designField by field what happens, with exceptions and test scenarios.
Step 3Approval and quoteYou approve the design; the quote follows from it.
Step 4Build and testOn our platform, then your acceptance test.
Step 5Go-live and supportAt a moment you choose. After that we monitor it.
What the integration does
Organisations that use Lucca for HR and Okta as their identity provider often get new colleagues by email from HR. IT then creates the Okta user by hand and sometimes only hears of a departure when someone hands in their laptop.
The Lucca administrator creates an API key with read rights on employees and employments and write rights on employees; Okta gets a service app with rights on users.
Lucca reports a new or changed employee or employment; KoppelHet fetches the employee with employment, job position and department in one request.
An employee with status upcoming becomes a staged Okta user; KoppelHet writes the Okta ID into Lucca.
On the start date the status becomes active and KoppelHet activates the user.
When the status becomes deactivated, KoppelHet deactivates the Okta user.
Out: Okta user with name, login and work email · Job title, department and entity · Manager · Staging, activation and deactivation · Okta ID back in Lucca
What to watch for with Lucca and Okta
Lucca has three statuses for an employee, calculated from the employments - upcoming, active and deactivated. Okta has a staged, an active and a deactivated user. KoppelHet lines those two up one to one, so HR does not have to fill in anything extra in Lucca for access.
For a new colleague Lucca already points to the next job position, with department and manager. KoppelHet puts those straight onto the staged Okta user. Group rules in Okta on department can thus assign the right apps before the first working day.
Lucca has a remoteId field per employee for the key in another system, unique and up to a hundred characters. KoppelHet writes the Okta user's ID there. That way HR sees in Lucca which Okta account belongs to someone, and the nightly comparison finds every user again, even after a name change.
Lucca allows fifty requests per minute per environment, shared with payroll and leave integrations. KoppelHet requests the employee with the option to include employment, job position and department in the same response, so one change costs one request instead of four.
In Lucca the legal entity belongs to the employment and follows from the establishment of the first job position. KoppelHet puts that entity in the organization field in Okta. Apps that only apply to one entity, such as a local payslip portal, are then assigned by Okta through a group rule to those colleagues only.
Lucca sends notifications with a three-second timeout and tries at most five times. KoppelHet accepts a notification immediately and processes it afterwards. The nightly comparison still picks up a missed notification, so a leaver does not stay active in Okta.
The work mobile number is a separate field in Lucca with a fixed format. KoppelHet puts the number in the mobilePhone field in Okta, so a colleague can receive a text code at first sign-in without entering the number themselves, if your Okta policy allows SMS.
The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
Every sync and every error is visible in the functional log; on an error your administrator is notified.
A change that cannot go through is not half-applied but queued for another attempt.
KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
After go-live we manage the integration and adjust it when your process changes.
The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.
This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.
A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.
Price indication · Basic
€ 0.000 – € 00.000
€ 000 per month
Frequently asked questions
Does the integration read salary or leave in Lucca?
No. Only employees, employments and job positions. In Lucca KoppelHet only writes the Okta ID.
Can the work email also go back to Lucca?
Yes, the email field can be written through the API. Lucca does refuse some domains; KoppelHet then reports that to HR.
Technical details for IT
For those who want to know how it works under the hood: APIs, fields and sources used.
Lucca API (latest) with OAuth 2.0: GET employees with include=embedded (employment, job-position, department), status upcoming/active/deactivated, applicableEmployment and applicableJobPosition; PATCH employee for remoteId (unique, 1 to 100 characters) with scope employees.readwrite, endpoint in beta. Events for employees and employments; three-second timeout and up to five attempts. Limit 50 requests per minute per environment, 429 with Retry-After.
To Okta through the Users API with an OAuth 2.0 service app (create without activation, activate, deactivate; profile with employeeNumber, title, department, organization, managerId and mobilePhone), or through a Custom Identity Source with the Lucca ID as immutable externalId (up to 200 profiles per bulk upsert, one session at a time).
Which fields are transferred
The key fields. The full mapping is agreed per customer.
Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.