Cyclr Community
  • Forums
  • Tutorials
  • Documentation
    • User Documentation
    • Connector Guides
  • Resources
    • New Features
    • Blog
    • Changelog
    • Support Portal
    • Newsletter Archive
    Sign in
    Cyclr Logo
    Cyclr Logo
    • Forums
    • Tutorials
    • Documentation
      • User Documentation
      • Connector Guides
    • Resources
      • New Features
      • Blog
      • Changelog
      • Support Portal
      • Newsletter Archive

    About Cyclr

    6
    • Introduction to Cyclr
    • Minimum requirements
    • Glossary
    • Errors
    • IP Allow List
    • Legal notices

    Cyclr Console

    14
    • Partner Console Dashboard
    • The Builder
    • Reports
    • Console Configuration
    • General Settings
    • Notifications
    • Appearance settings
    • Security settings
    • Data retention settings
    • Custom Service Domains
    • Handle transaction errors
    • Payload Size Limitations
    • Performance tips
    • GitHub Integration

    Connectors

    33
    • Introduction to Connectors
    • Connectivity Comparison
    • Connector Guides
    • Application Connectors
      • Introduction to Application Connectors
    • Utility Connectors
      • Introduction to Utility Connectors
      • Counter Storage
      • Cross Updating Preventer
      • Data Tools
      • Entity Cross Ref Storage
      • Generic File
      • Generic File Downloader
      • Generic Form
      • Generic Webhook
      • Data Storage
        • Introduction to Data Storage Connectors
        • Global Data Storage
        • Global Object Storage
        • Cycle Data Storage
        • Cycle Object Storage
    • Custom Connectors
      • Introduction to Custom Connectors
      • Methods
      • Triggers
      • Last Successful Run Date
      • Parameters
      • Scripting
      • Data Types
      • Paging
      • Custom Objects
      • Dynamic Custom Fields
      • Automatically Install Webhooks
      • Connector Standards
      • Settings
      • Authentication
      • Rate Limits

    Templates

    17
    • Introduction to Templates
    • Template settings
    • Create a Template
    • Tools
    • Connectivity Tools
    • Map fields
    • Add custom fields
    • Custom Object Method Categories
    • Test Scripts
    • Collection splitting
    • Pass data between two steps
    • Test a template
    • Template versioning
    • Introduction to Cycles
    • Stop a cycle
    • Copy Cycles as Templates
    • Import or Export Templates

    Accounts

    5
    • Introduction to Accounts
    • Account Users
    • Sub Accounts
    • Connector Authentication Link
    • Export or Import Cycles

    Embedding

    17
    • Introduction to Embedding
    • ORBIT
    • Installing a Partner Connector
    • Embed Cyclr in an iFrame
    • Launch
      • Introduction to Launch
      • User Experience
      • Customize Appearance
      • Build Compatible Templates
      • Handle LAUNCH callbacks
      • Deploy LAUNCH
    • Marketplace
      • Introduction to Marketplace
      • Set up a Marketplace
      • Styling Marketplace
      • Deploying a Marketplace
      • Marketplace Callback
      • Marketplace Webhook Callback
      • Marketplace Settings

    API

    19
    • Introduction to the Cyclr API
    • Authentication
    • Authorize Account API calls
    • Install Connectors into an Account
    • Install a Cycle from a Template
    • Step Setup
    • Activate a Cycle
    • Install Connectors
    • Create an Account
    • API Example Walkthrough
    • Connector Authentication
      • Introduction to Connector Authentication
      • API Key Authentication
      • HTTP Basic Authentication
      • OAuth Authentication
    • Data on Demand
      • Introduction to Data on Demand
      • Get Account Connectors
      • Get Connector Methods
      • Call a Connector Method
      • IP Restriction

    Release Notes

    27
    • Introduction to Release Notes
    • 2025
      • 2025-05
      • 2025-04
      • 2025-03
      • 2025-02
      • 2025-01
    • 2024
      • 2024-12
      • 2024-11
      • 2024-10
      • 2024-09
      • 2024-08
      • 2024-07
      • 2024-06
      • 2024-05
      • 2024-04
      • 2024-03
      • 2024-02
      • 2024-01
    • 2023
      • 2023-12
      • 2023-11
      • 2023-10
      • 2023-06
      • 2023-05
      • 2023-04
    • Archive
      • Archive
      • 2022
      • 2021
    View Categories
    • Home
    • Documentation
    • Embedding
    • Embed Cyclr in an iFrame

    Embed Cyclr in an iFrame

    3 min read

    To embed Cyclr in an iframe within your own application, you will need to take the following steps:

    1. Obtain an Access Token that enables you to make calls against the Cyclr API
    2. Obtain a user-specific Sign-in Token
    3. Build the URL for your iframe

    1. Obtain a Cyclr API Access Token #

    Get Client ID and Secret #

    You can generate a Client ID and Secret from the Cyclr Partner Console by going to Settings > OAuth Client Credentials

    Once you have a Client ID and Secret you need to call the Cyclr API OAuth Token endpoint to generate an Access Token. The domain for that endpoint is different dependent on your Cyclr instance.

    Required Request Body Parameters #

    ParameterDescriptionExample
    grant_typeIdentifies the OAuth flow being used. Must be client_credentialsclient_credentials
    client_idIdentifies the Cyclr Partner the token is forabcdefg
    client_secretThe matching secret for the client IDabcdefghij123

    Example Request #

    POST https://{API Domain}/oauth/token
    Content-Type: application/x-www-form-urlencoded
    
    grant_type=client_credentials&client_id=abcdefg&client_secret=abcdefghij123

    NB. grant_type, client_id and client_secret go in the Request Body – they are not added to the endpoint.

    Example Response #

    {
        "token_type": "bearer",
        "access_token": "************",
        "expires_in": 1209599,
        "clientId": "************"
    }

    2. Generate a User-Specific Sign-in Token #

    For this stage, you’ll need the Access Token from the previous step, and the Cyclr Account’s API ID.

    To find this value in your Console, go to Accounts > Account Management and click the Settings button next to the Account – you’ll see the API ID near the top.

    Make this call, specifying a user to sign in as. If they don’t already exist, they will be created:

    POST https://{API Domain}/v1.0/accounts/{API ID}/signintoken
    Authorization: Bearer YOURACCESSTOKENHERE
    Content-Type: application/json
    
    {
    	"Username" : "ApiUser"
    }

    This will return the following response:

    {
    “Token”: “JWxm_cYOq0m6PYWcVPWpuSBP-ppqRwhBk”,
    “ExpiresAtUtc”: “2021-05-17T15:55:41.9993413Z”
    }

    The Token returned will expire after 5 minutes and can only be used once. Each time you need to give a user access to a Cyclr Account through your iframe, you must generate a new Token.

    3. Build the iframe’s URL #

    Taking a Token returned above, build the URL to use as the value for a src attribute of an iframe in your application.

    This is the structure of that URL:

    https://{Cyclr Service Domain}/account/signinwithtoken?token={Token}

    Your Service Domain can be found in your Cyclr Console under Settings > General Settings.

    Here’s how the full URL may look once set in the HTML code of a page in your application:

    <iframe src=”https://myapp-h.cyclr.com/account/signinwithtoken?token=JWxm_cYOq0m6PYWcVPWpuSBP-ppqRwhBk”></iframe>

    Final Steps #

    You will need to check that iframe Embedding is turned ON in your Console under Settings > General Settings, and that you have added the domain hosting your application to the Host Source Whitelist.

    For security reasons, the page hosting the iframe must be served over HTTPS.

    Share This Article :
    • Facebook
    • X
    • LinkedIn
    • Pinterest
    Installing a Partner Connector
    Page Contents
    • 1. Obtain a Cyclr API Access Token
      • Get Client ID and Secret
      • Required Request Body Parameters
      • Example Request
      • Example Response
    • 2. Generate a User-Specific Sign-in Token
    • 3. Build the iframe’s URL
    • Final Steps

    Company

    • Company
    • About Us
    • Security and Compliance
    • Pricing
    • Blog
    • Branding
    • Embedded iPaaS

    Legal

    • Website Terms
    • Privacy Policy
    • Terms and Conditions
    • Data Protection Agreement
    • SLA
    • GDPR

    UK Office

    +44 (0) 3300 102 525

    US Office

    +1 (646) 585-2525


    White labelled API integration framework for creating & managing in-app SaaS integrations.

    © 2025 Cyclr. All rights reserved.