/actions endpoint and can be rendered in your own documentation, dashboards, or integration hubs.
Overview
Connector documentation consists of two types of guides:Account Link Guides
For end-users - Instructions to connect their account via Integration Hub. Covers finding credentials like API keys, domains, and OAuth authorization.
Auth Setup Guides
For application setup - Instructions to register OAuth applications and obtain client credentials before users can connect.
- Account link guides →
authentication[].{method}.support.guides.config - Auth setup guides →
authentication[].{method}.support.guides.setup
Guide Structure in YAML
Guides are added to theauthentication block in your connector YAML configuration.
Basic Example
When to Use Each Guide Type
The support.link Field
support.link should point to where you host the rendered version of these guides, ensuring users see your branded, customized setup instructions.
Section Structure
Each guide contains an array of sections with steps.Section Properties
Content Formatting
Thecontent and list fields contain plain strings. To render markdown formatting, use a markdown parser in your rendering code. Common patterns include:
- Links:
[Provider Dashboard](https://example.com/dashboard)→ Parse with markdown renderer to create clickable links - Bold:
**Settings**for UI elements → Parse to render as<strong>Settings</strong> - Code:
`https://api.example.com`→ Parse to render as<code>https://api.example.com</code>
Scope Definitions
Define action requirements inscopeDefinitions at the connector root level. While commonly used for OAuth/API scopes, these can represent any prerequisite needed to enable an action.
Basic Scopes
Hierarchical Scopes
- Write scopes typically include read scopes via
includes - Broader scopes include narrower scopes
- Only include relationships explicitly documented by provider
- Read-only scopes should NOT include write scopes
Scope-Aware Guide Content
Guide sections can be filtered based on selected scopes or requirements, showing only relevant instructions for the user’s configuration.Basic Scope Filtering
Displaying Actions Enabled by Requirements
UsedisplayScopes: true to show which actions a step enables:
Complete Examples
API Key Authentication
OAuth 2.0 with Setup Guide
Retrieving Guides via API
Once your connector is deployed, guides are available through the/actions API endpoint.
API Request
Response Structure
Query Parameters
Rendering Guides in Your System
You can render the guides however you choose. Here’s a basic approach using TypeScript and React:1. Fetch and Parse
2. Render Content
3. Handle Requirement Filtering
Validation
After adding guides to your connector YAML, validate the configuration:If you see a warning about
Unknown field 'guides', update your CLI to the latest version with npm install -g @stackone/cli@latest. The guides field is fully supported at runtime.Testing Your Guides
1. Deploy Connector
2. Fetch from API
3. Verify Response
Check that:-
authentication[].support.guides.configexists ifconfigFieldsexist -
authentication[].support.guides.setupexists ifsetupFieldsexist - All sections have
titleandcontentorsteps - Links are properly formatted
- Requirement filters (
applicableScopes) match yourscopeDefinitionsif used
Migration from Hub Docs
If you have existing guides in separate documentation, you can migrate them to the connector YAML.MDX to YAML Mapping
Example Migration
From MDX:Next Steps
Build Your Connector
Create the connector YAML configuration
Connector Structure
Learn about authentication patterns and actions
YAML Reference
Complete reference for all YAML properties
CLI Reference
Deploy and test connectors with the CLI