The embed portal provides a way to connect a sales channel without logging in to the app. The embed link allows integrations to be connected without requiring anyone to log into Pipe17’s UI. This link guides the merchant through the connection process while keeping sensitive credentials secure.
An embed link expires 48 hours after it is created. Until then, it can be shared or opened in various ways, including direct messages, email, new browser tabs, or iframes.
Each link can be claimed once. When a merchant opens the link, the portal starts a cookie-based session in that browser. The session lets the merchant keep adjusting or completing the connection, and it ends when the link expires, 48 hours after the link was created. Opening the link again in the same browser during that time returns to the connection page. Opening it in any other browser, or after the session ends, shows an error.
Each request in the session uses the associated API key on the merchant’s behalf. The API key itself is never shown to the merchant. If the API key is ever disclosed, it may allow unauthorized users to modify or delete integrations.
Temporary connection links are off by default. To turn them on, sign in to your primary organization, go to Settings > Access & Security, select the External Integration Access tab, turn on Enable External Integration Access, and then select Enable. The setting applies to every organization under your account. If you turn it off later, links that were already created stay valid until they are used or expire.
Setting Up Embed Portal
API Key for the Embed Portal
You don't need to create the API key yourself. The first time someone generates a temporary connection link in an organization, the app creates an API key named EMBED_KEY with the minimum permissions the Embed Portal needs. Don't rename or delete this key, and don't remove any of its permissions. If a required permission is removed, the app stops generating links for that organization.
The key has the permissions required to validate access, read the organization, and manage the integration.
Required Permissions
| Entity | Create | List | Read | Update | Delete |
|---|---|---|---|---|---|
| apikey | ✓ | ||||
| organizations | ✓ | ||||
| connectors | ✓ | ✓ | |||
| integrations | ✓ | ✓ | ✓ | ✓ | ✓ |
When a link is requested, the embed portal checks that the API key belongs to the organization in the request and has these permissions.
Use Cases
Generate Links From the App
To generate a link, open the integration, select the Connection Details tab, select the ⋮ menu, and then select Get Temporary Connection Link. The Temporary Connection Link pop-up shows the link with a copy button. To see this option, you need full integration permissions: create, read, update, delete, and list.
Some connectors rely on configuration fields that the Embed Portal doesn't support yet. For these connectors, the option is unavailable and shows This integration is not supported yet.
Generate Links Using the API
Third-party systems can also create embed links. They must keep the API key secure in their backend. The key must never be exposed to merchants or frontend code. If the key is leaked, it could be used maliciously.
The request must use an API key from the same organization as orgKey, with the permissions listed above. The EMBED_KEY that the app creates meets this requirement.
For merchants with multiple organizations, the third party must generate a unique session per organization.
To create a session, the third party sends the following request:
curl --location 'https://embed.pipe17.com/api/auth-code' \
--header 'Content-Type: application/json' \
--header 'x-pipe17-key: {{EMBED_KEY}}' \
--data '{
"orgKey": "{{EMBED_KEY_ORG_KEY}}",
"permissions": [
{
"type": "integration",
"integrationId": "{{INTEGRATION_ID}}",
"scope": { "connection": true }
}
]
}'integration is the only supported permission type.
Sample Response
{
"status": "success",
"authCode": {
"code": "b2lnKe1kZu",
"orgKey": "{{EMBED_KEY_ORG_KEY}}",
"expiresAt": "2025-04-25T19:51:08.183Z",
"createdAt": "2025-04-23T19:51:08.183Z",
"permissions": [
{
"type": "integration",
"integrationId": "{{INTEGRATION_ID}}",
"scope": { "connection": true }
}
]
}
}The response never includes the API key. The third party can then construct the embed link:
https://embed.pipe17.com/code/{{CODE}}
This link can be delivered to the merchant in any preferred method.
Embed Portal Architecture
The embed workflow allows a secure, temporary, and permission-scoped connection flow between a merchant, a third-party system, and the app.
Troubleshooting
- The embed link shows "This link is not valid. It may not exist, has expired, or has already been claimed."
The link was already opened in another browser, or 48 hours have passed since it was created. Generate a new link and send it to the merchant. - The merchant's session ended
The session ends when the link expires. Generate a new embed link and send it to the merchant. - The merchant cannot save changes
A required permission may have been removed from the API key after the link was created. Check that the key still has the permissions in the table above, then generate a new link. - The API request returns "Bad Input"
The request body is missingorgKeyorpermissions, or a permission is not of typeintegration. Check the body against the sample request. - The API request returns "An unknown error occurred"
The API key may belong to a different organization thanorgKey, or may be missing one of the required permissions. Use the API key for that organization. - The Get Temporary Connection Link option is unavailable
The connector uses configuration fields that the Embed Portal doesn't support yet. Connect this integration in the app instead. - The ⋮ menu doesn't appear on the Connection Details tab
External Integration Access is off for your account, or your role doesn't have full integration permissions. Ask an admin of your primary organization to turn it on or update your role.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We're here to help you succeed with your operations.
Comments
0 comments