Open the hosted flow
Embed https://www.coherta.com/partner/flow/ and include your partner_id, return_session=true, return_url and plan.
Embed Coherta's hosted partner flow in your product. Your customer creates an account, connects LinkedIn and starts checkout without being sent through disconnected third-party HTML samples.
This preview follows the same journey your customer experiences. In production, open the hosted flow in an iframe or an in-app panel and provide your partner ID, return URL and chosen plan.
The browser stays inside a single Coherta-controlled journey. When the final step is complete, Coherta sends the result to your application and includes the session identifier for authenticated follow-up calls.
Use one hosted entry point for the customer-facing journey. Coherta owns the interface and state between each step.
Embed https://www.coherta.com/partner/flow/ and include your partner_id, return_session=true, return_url and plan.
The customer profile and company are created, LinkedIn is connected and checkout is opened in the same controlled experience.
After completion, the flow posts a structured result to the parent window and returns the customer to your approved URL with the same session_id.
Store the session securely and use it as Bearer authentication for permitted follow-up requests, including company and subscription status.
Allow Coherta's domains in your content security policy and restrict returned messages to the expected Coherta origin. Never accept a session message from an arbitrary origin.
<iframe id="coherta-flow"
src="https://www.coherta.com/partner/flow/?partner_id=YOUR_PARTNER_ID&return_session=true&return_url=https%3A%2F%2Fpartner.example.com%2Fcoherta-return"
title="Set up Coherta"></iframe>
<script>
window.addEventListener('message', function (event) {
if (event.origin !== 'https://www.coherta.com') return;
if (event.data?.source !== 'coherta-partner-flow') return;
const { session_id, status } = event.data.payload;
// Send session_id to your backend for secure storage.
});
</script>Choose a time and enter your details.