# Access Source: https://help.standards.site/access ## Enterprise Control who can access your published projects and MCP servers. Access tab in project details showing a search, input field, and list of example individuals and email domains *** ## What is the access list? The access list defines the individuals and email domains (anyone with an email that uses the domain) allowed to access your project. It is used by projects published with the **Sign-in required** security setting and by MCP servers configured with the **Sign-in required** option. In both cases, a visitor’s email domain or specific email address must appear in the access list before they can connect. Projects published with **Logged public access** also track who has viewed, but do not use the access list to restrict entry. Projects published with **No restrictions**, **Plain password protected**, and **Secure embed** security types do not use the access list because they don’t require Standards accounts. *** ## When the access list applies * **Sign-in required** (publishing) Enterprise Visitors must sign in using their credentials to view the project. Their email domain or specific email must be in the access list. * **Sign-in required** (MCP) Enterprise AI tools connecting to an MCP server with sign-in required must authenticate with credentials that match the access list. *** ## Manage access When your project uses **Sign-in required** for publishing or MCP, manage who has access from the **Access** tab in the project details. From the Standards dashboard, select the project you want to manage Select the Access tab from the top tabs Add and remove individual emails and email domains. *** ## Keep in mind * The access list is shared between project publishing and MCP. Adding someone to the access list grants them access to both the published project and the MCP server when either uses the **Sign-in required** setting. * Access list entries are retained even when the project is changed to another security option or unpublished. * Projects published with **No restrictions**, **Plain password protected**, and **Secure embed** security types do not use the access list because they don’t require Standards accounts. *** ## FAQ An email domain is the part after the @ sign — so in [**jane@acme.com**](mailto:jane@acme.com), the domain is [**acme.com**](http://acme.com). When you grant access to a domain, anyone with an email address at that domain (i.e., anyone at that company) can access your site. This is a single email address, so just that one person would be granted access No, the access list will be retained no matter what settings and preferences are changed on the project. # Accessibility Source: https://help.standards.site/accessibility Web accessibility ensures that content is usable and inclusive for all individuals. These accessibility descriptions also enable better search results. Accessibility Hero *** ## Image descriptions When using **Media** throughout your project, it is important to keep accessibility in mind. Standards allows you to include meta descriptions for both **Media** elements, and the **Files** themselves. ### What image descriptions are Image descriptions are short text based statements that describe the subject or the meaning of visual content, and are programmed to display when that visual content is not available, such as when browsing with a screen reader. They are also used for aria-labels such as on buttons without text, and on groups to demarcate sections. ### How descriptions are displayed * If a **Media** element and the **File** it’s referencing both include a description, the **Media** description will be shown. * If a **File** includes a description, but the **Media** element referencing that file does not, the **File** description will be shown. * If neither the **Media** element or the **File** it’s referencing include a description, no description will be shown. ### Writing descriptions for Media elements When writing a description for a **Media** element, it is often best practice is to describe the context or meaning of the media rather than the subject, since the file could easily change. **Example:** “Demonstration of proper logo clearspace equal to the logotype’s x-height” ### Add image descriptions to Media Accessibility Media Description Within the design or content mode of the editor, select a media element When in **design mode**, enter the description into the right sidebar in the **Description** settings group at the bottom. In **content mode**, enter the image description in the contextual popup. ### Add image descriptions to a File Accessibility Image Descriptions Within the editor, select the **Files** tab from the top of the right sidebar. Then select the desired file. From the file detail panel, enter the description into the **Description** field. **Note:** Replacing a file will reset the image description When writing a description for a **File**, the best practice is to simply describe the subject or content rather than the meaning, since it could be placed in any context. ### Add descriptions to Buttons Buttons that don't include text should be labeled with a description. Buttons with text in them typically don't need a label. Accessibility Aria Button From within the editor, select the button * Use action verbs * Be specific about the target * Avoid generic labels * Don't include the word "button" *** ## AI-generated descriptions Standards can draft accessibility descriptions for you using AI, so you can describe media at scale and then refine the wording. The same tool is also available for [page descriptions](/pages#page-settings). Accessibility Ai Generated ### Generate a description Within the editor, select a **Media** element (or other element with an **Accessibility** description field). You can select multiple elements to generate descriptions for all of them at once. In the **Accessibility** settings group, select the **Generate description** button (bolt icon) beside the **Description** field. The field shows a loading state while the description is generated, then fills in automatically. AI-generated descriptions are a starting point. Review each one for accuracy and tone, and edit it to capture the context or meaning you intend. **Availability:** AI features are available on Pro workspaces, and on Enterprise workspaces where an admin has enabled AI features. If the bolt icon is disabled, AI features may be turned off for your workspace. **Tip:** Generation considers the element's content (including the image itself for media) and the page it sits on, so descriptions are tailored to where the element appears. *** ## Section labeling for screen readers Improve navigation for screen readers by labeling sections of a page. Add a label to each major section of your page. This label is used by screen readers to identify the section and enables jump navigation for keyboard users. ### Add section labeling Logo group of Identity page selected and the word 'Logo' input into the accessibilty description field This is a good practice while working to stay organized. Select contents layers then group them together by pressing `Make group` in the sidebar, or  command G With the group or layout layer selected, look for the Accessibility settings group in the right sidebar. Enter the appropriate section label — for example, "Brand Colors" or "Typography." *** ## Content tags Adding content tags to text provides data that may be used by browsers and search engines to infer the hierarchy of text content without visual cues, and may effect how the text is displayed on screen readers or in other environments. ### Add tags to text Text highlighted and content tag applied from right sidebar editor interface Within the editor, select a text block from the contents list in the left sidebar, or from the in-body content. In the right sidebar at the bottom, there is a settings group named **Accessibility.** Select the **Content tag** dropdown, then select the tag that best fits the text content ### Tags * **Paragraph:** Represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines. * **Heading 1 - 6:** Represent six levels of section headings. Heading 1 is the highest section level and heading 6 is the lowest. ### Best practices * One H1 per page, typically the page title. * Don't skip levels (H1 → H3 skipping H2 is a no) * Nest logically: H2's are sections, H3's are subsections within those, etc. *** ## UserWay plugin Additional accessibility features can be enabled on Standards projects with the UswerWay plugin. UserWay allows site visitors to control a range of accessibility options like increasing text size. Learn more about [UserWay](http://userway.org/). ### Enable UserWay on your project Note: This **does not require** a UserWay account Within the project editor, select the gear icon from the top bar. Within the project settings in the right sidebar, look for the **Accessibility** settings group, toggle on the UserWay plugin. Publish the changes from the **Publish & share** window. The UserWay plugin now viewable on your live site. ### Add optional UserWay account ID **Note:** This **requires** a UserWay account, allowing for additional features. Additionally, the integration is only available when published to a custom domain. Log into your UserWay account on [userway.org](http://userway.org). If you don't have an account, sign up for one. In the UserWay dashboard, select the **Embed code** tab from the left sidebar. From the embed code, look for the ID just after **data-account=** between the quotation marks. Copy the ID to your clipboard, ctrl+Con your keyboard Example UserWay script with acount ID highlighted Back in Standards, enter the project editor by selecting the gear icon from the top bar. Within the project settings in the right sidebar, look for the **Accessibility** settings group. Paste the ID into the **Account ID** field. Publish the changes from the **Publish & share** window. The UserWay plugin now viewable on your live site. *** ## Resources Learn more about improving site accessibility: [https://www.w3.org/TR/WCAG22](https://www.w3.org/TR/WCAG22) Check color contrast: [https://webaim.org/resources/contrastchecker/](https://webaim.org/resources/contrastchecker/) # Adding Content Source: https://help.standards.site/adding-content Adding content is fundamental to creating your Standards site. Whether you start with an outline or from scratch, adding content is what makes it yours. Hovering and adding content to various designs, showing clicking and dragging actions to add *** ## Basics At its simplest, adding is the action of choosing what you want to add then selecting where you want to add it. Keep in mind, all content from carousels to text can be added following the same basic method. ### How to add Add menu dropdown open showing a list of all options Within the design editor, select the `+`dropdown from the top bar Choose basic elements like **Text** or **Media**, or choose from brand elements like **Color swatch** or **Don't**. Select a point in the project body by selecting between layouts, click + dragging within, or selecting a point inside a column. **Tip:** Hold command during step 3 above to enable directly adding into an existing column. ### Previews in the add menu Items in the `+` menu show a live preview rendered with your project's own styles, rather than a generic illustration, so you can see roughly what you're about to add before you add it. Hovering an item also shows a short description of what it does at the bottom of the window. The same live previews appear elsewhere you pick a page or an element, such as choosing which pages a [menu](/menus#showing-a-menu-on-select-pages) appears on or which pages to protect when [publishing](/publish-share). ### Adding Automations Automations are a powerful tool that helps quickly automate adding commonly-used content within brand guidelines. Within the design editor, select the `+`dropdown from the top bar Alternately use the hotkey H to quickly enable the Automation add tool Select a point in the project body by selecting between layouts Choose the Automation from the pop-up window Many Automations have multiple steps to choose preferences ### Adding Components Components are a single-saved design which can be used repeatedly throughout a project. They can be updated at any time from a single location, and any changes will sync across all instances Within the design editor, select the `+`dropdown from the top bar Alternatively use the hotkey C to qiickly enable the Component add tool Select a point in the project body by selecting between layouts, click + dragging within, or selecting a point inside a column. Choose the component to add from the list of components that can be added to the chosen area you're adding into. Keep in mind: Where you select will affect what can be added. For instance selecting within a column will show basic components you've created like buttons *** ## Add mode While adding, you are in a multi-step add mode. Below outlines various common states you will encounter in add mode. ### Add to existing layout Layout area highlighted blue with a plus icon beside cursor While hovering an existing **group** or **layout**, the entire area will tint. Left click to enter this layer. Existing column highlighted blue Select an existing **column**, or left click + drag on empty **layouts** to create a new one. ### Create a new layout Space between two layouts hinted open with a full width blue highlight New **layouts** can be added by left clicking between existing ones. Blue outline filling multiple columns indicating area being added into Once inside an existing or new **layouts**, left click + drag to create a new **column** the content will be within. ### Locked areas While adding, all component instances will be locked from adding into. To add into components, you must edit the main component itself. Area hovering is purple and shows lock icon *** ## Tips ### Hotkeys Use the keyboard hotkeys M (Media), T (Text), B (Button), D (Drodown), S (Spacer), A (Automation), C (Component) to quickly select the that content type to add. ### Add directly to a column When in add mode, press and hold the command key to bypass the first clicks, and directly add into an existing column. # Agency Client Workflow Source: https://help.standards.site/agency-client-workflow Standards sites are managed and handed off between agency and client in a range of ways. This guide outlines common cases and considerations. *** ## Agency owns site Often agencies prefer to retain ownership of their client’s Standards sites. This keeps things simple for clients, and allows the agency to retain more oversight. In the past, the parallel would be an agency exports a PDF for the client, but keeps the InDesign file in case changes are necessary. ### Advantages * Agencies can prevent clients from accidentally editing the site * Agencies can be available to make quick updates, which can be part of retained services * All sites authored by the agency are in one place * Sites can be transferred to client if needed in the future ### Client just wants to view Agencies that want to build and manage Standards sites for their clients and keep things simple will create the Standards site in their workspace and simply share the published view link. In this case, the client will not be invited to a workspace, and instead will only view the live URL. * The project is created in the agency’s workspace * The project is published and the link is shared with the client * Note: Often both complete and work in progress sites are published and shared in this way ### Client wants to edit Agencies that want their client to be a member of the workspace their project’s in often create a new workspace with the client’s name, then invite them to it. This allows the client to edit the project, and any others in the workspace. * **Advised:** A new workspace is created by the agency so they can only see their own project in the workspace * The client is invited to be a member of this workspace * Client can enter the editor of projects within the workspace with a commenter, content editor, or designer role. *** ## Client owns site Also very commonplace is the client prefers to own the Standards site which allows them to manage it, control billing, and have access to Enterprise plan features. ### Advantages * Clients can have a plan that differs from the agency * Client manages billing and invoicing * Agency can hand off site and end the engagement or scope of work * Client can own the site, invite the agency into the workspace, then remove them ### Agency creates site, then transfers Standards sites can be created on any level plan, then handed off to the client using a project transfer. In addition to the advantages outlined above, this is the primary use-case for agencies on Pro plans. * The Standards site is created by the agency in their own workspace * The Standards site is then transferred to the client * The agency may be added to the client’s workspace as editors if needed ### Client invites agency to their workspace In certain cases it can make sense for the client to sign up for a Standards account, then invite the agency members into their workspace. This is common when the client requires an enterprise plan prior to the creation of the Standards site. * Client signs up for Standards * Client invites agency members to the workspace * Agency members create Standards site in the client’s workspace # API Source: https://help.standards.site/ai-api Enterprise A REST API for programmatic access to your brand guidelines — designed for data pipelines, search infrastructure, and custom integrations. *** ## Basics The Standards API provides OAuth 2.0-protected access to your workspace, projects, styles, files, and page content. Use it to feed brand data into enterprise search tools, build custom workflows, or integrate with any system that needs structured access to your guidelines. For full API documentation including authentication, endpoints, and testing, see the [API reference](https://help.standards.site/api). *** ## When to use the API The API is designed for scenarios where you need: * **Automated syncing** — Keep external systems up to date with your latest published guidelines * **Search indexing** — Feed brand content into tools like Glean, Elasticsearch, or internal search platforms * **Custom integrations** — Build internal tools that pull brand data programmatically * **Data pipelines** — Include brand information in automated workflows *** ## What you can access | Endpoint | Description | | - | - | | Workspace | Retrieve workspace information | | Projects | List all projects in a workspace | | Project | Get project details including publish status | | Styles | Retrieve color and typography style definitions | | Files | List uploaded files with metadata (fonts, images) | | Pages | List pages and retrieve page content as markdown | See the [full endpoint reference](/api-requests) for request and response details. *** ## Getting started Follow the [API key creation guide](/api) to generate a client ID and secret from your workspace settings. Use the OAuth 2.0 client credentials flow to get a bearer token. See [API requests](/api-requests) for details. Use the access token in the `Authorization` header to query any endpoint your key has access to. *** ## Connect to AI tools * [Glean →](/ai-api-glean) * [Custom integrations →](/ai-api-custom) # Custom Integrations Source: https://help.standards.site/ai-api-custom Enterprise Build custom AI integrations using the Standards API to feed brand guidelines into any system. The Standards API gives you full programmatic access to your published brand content. Use it to build custom integrations with internal tools, AI pipelines, or any platform that can make HTTP requests. *** ## Common use cases ### Feed an AI agent or chatbot Retrieve page content from the API and include it as context when prompting an LLM. This lets you build internal tools — like a brand-aware Slack bot or a design review assistant — that reference your latest published guidelines. ```javascript theme={null} // Example: Retrieve brand color guidelines for use as LLM context const pageContent = await fetch( `https://api.standards.site/beta/workspace/${workspaceId}/project/${projectId}/page/color`, { headers: { Authorization: `Bearer ${accessToken}` } } ); const { content } = await pageContent.json(); // Pass content as context to your LLM of choice const prompt = `Using these brand color guidelines:\n\n${content}\n\nSuggest a color palette for a new landing page.`; ``` ### Index in a vector database Retrieve all pages and embed them in a vector database (like Pinecone, Weaviate, or ChromaDB) for semantic search and retrieval-augmented generation (RAG). ```javascript theme={null} // Example: Retrieve all pages for indexing const pagesResponse = await fetch( `https://api.standards.site/beta/workspace/${workspaceId}/project/${projectId}/pages`, { headers: { Authorization: `Bearer ${accessToken}` } } ); const { pages } = await pagesResponse.json(); for (const page of pages) { const pageResponse = await fetch( `https://api.standards.site/beta/workspace/${workspaceId}/project/${projectId}/page/${page.id}`, { headers: { Authorization: `Bearer ${accessToken}` } } ); const { content } = await pageResponse.json(); // Embed and store in your vector database await vectorDb.upsert({ id: page.id, text: content, metadata: { name: page.name, source: 'standards' } }); } ``` ### Sync with a design system Pull style definitions from the API to keep design tokens in sync with your published brand guidelines. ```javascript theme={null} // Example: Retrieve styles for design token generation const stylesResponse = await fetch( `https://api.standards.site/beta/workspace/${workspaceId}/project/${projectId}/styles`, { headers: { Authorization: `Bearer ${accessToken}` } } ); const { colors, types } = await stylesResponse.json(); // Generate design tokens from brand styles const tokens = { colors: Object.fromEntries(colors.map(c => [c.id, c.hex])), typography: Object.fromEntries(types.map(t => [t.id, { family: t.family, size: t.size, weight: t.leading }])) }; ``` *** ## Getting started 1. [Create an API key](/api) with the scopes you need 2. [Authenticate and make requests](/api-requests) using OAuth 2.0 3. Use the [API reference](/api-reference/schema.yaml) to explore all available endpoints # Glean Source: https://help.standards.site/ai-api-glean Enterprise Index your brand guidelines in Glean so your team can search and get AI-powered answers about your brand across your company's knowledge base. *** ## Basics [Glean](https://www.glean.com/) is an enterprise search platform that connects to your company's tools and data sources. By connecting Standards to Glean, your brand guidelines become searchable alongside your other company knowledge — and Glean's AI assistant can answer brand questions using your published content. *** ## Connect to Glean Glean supports custom API connectors for indexing content from external sources. To connect Standards: Follow the [API key creation guide](/api) to generate a client ID and secret. Enable the `document.read`, `data.read`, and `styles.read` scopes, and select the projects you want indexed. In your Glean admin console, create a new custom connector or work with your Glean administrator to configure one. You'll need: * The Standards API base URL: `https://api.standards.site/beta` * Your client ID and secret for OAuth token retrieval * The workspace ID for your Standards workspace Map the Standards API endpoints to Glean's document model: * Use the [list pages](/api-requests) endpoint to discover content * Use the [get page](/api-requests) endpoint to retrieve page content as markdown * Use the [styles](/api-requests) endpoint to include color and typography data Configure Glean to re-index on a regular schedule (e.g., daily) so your search results stay current after publishes. *** ## What gets indexed When configured, Glean can index: * **Page content** — The full markdown content of each published page * **Color styles** — Color names, hex values, RGB, CMYK, Pantone, and RAL codes * **Typography styles** — Font families, sizes, weights, and other specifications * **File metadata** — Uploaded file names, types, and image descriptions * **Project information** — Project names and publish status *** ## How your team uses it Once indexed, your team can: * Search for brand information directly in Glean (e.g., "What is our primary brand color?") * Get AI-generated answers from Glean's assistant that reference your published guidelines * Find brand content alongside related documents from other connected tools # AI Integrations Source: https://help.standards.site/ai-integrations Pro & Enterprise Give AI tools direct access to your brand guidelines so every output — copy, code, designs, and more — stays on-brand from the start. The AI settings page in Standards showing cards for standards.md, MCP, and API *** ## How it works Standards offers three ways to connect your brand guidelines to AI tools, each designed for different workflows. ### [standards.md](/ai-standards-md) A portable markdown file optimized for AI tools. Upload it or share the link to give any LLM instant context about your brand. Your file is updated on every publish. Best for quick, one-off prompts and conversations with tools like ChatGPT, Claude, and Gemini. ### [MCP](/ai-mcp) A Model Context Protocol server that gives AI agents structured, on-demand access to your published guidelines. Tools query only the pages they need, and content is always current after publish. Best for AI coding tools and agents like Claude Desktop, Cursor, and VS Code. ### [API](/ai-api) A REST API protected with OAuth 2.0 for programmatic access to your workspace, projects, styles, files, and page content. Best for data pipelines, search infrastructure, and custom integrations like Glean. *** ## Which should I use? | | standards.md | MCP | API | | - | - | - | - | | **Setup** | One click | Copy a link | Create API key + OAuth | | **How AI gets data** | Entire file in one go | Queries pages on demand | Programmatic requests | | **Updates** | Re-download or re-fetch link after publish | Always current after publish | Always current after publish | | **Best for** | ChatGPT, Claude, Gemini conversations | Claude Desktop, Cursor, VS Code | Glean, custom pipelines, search indexes | | **Plan** | Pro & Enterprise | Pro & Enterprise | Enterprise | When possible, choose a connection method that stays automatically up to date — like MCP or the standards.md share link added to a project. This way, your AI tools always reference your latest published guidelines without any manual steps after each publish. You can enable all three on the same project — they serve different use cases and work independently. *** ## Optimize your project for AI The quality of AI-generated output depends on the quality of your published guidelines. Follow these practices to get the best results. ### Write descriptive content AI tools read the text content of your published pages. Pages with clear, descriptive copy produce better results than pages that rely heavily on visual examples alone. Where possible, supplement visual examples with written explanations of when and how to apply each guideline. ### Add image descriptions Image descriptions (alt text) are included in your standards.md file and API responses, giving AI tools context about visual content they can't see directly. Adding descriptions to your media and files ensures AI tools understand your logos, color swatches, photography examples, and other visual assets. [Learn more about image descriptions →](/accessibility) ### Use content tags Tagging your text with proper heading levels (H1–H6) and paragraph tags helps AI tools understand the hierarchy and structure of your content. This improves how tools parse and prioritize information from your guidelines. [Learn more about content tags →](/accessibility) ### Label sections for structure Adding accessibility labels to grouped sections helps AI tools understand the organization of each page. A group labeled "Logo clearspace" is more useful to an AI tool than an unlabeled collection of images and text. [Learn more about section labeling →](/accessibility) ### Keep pages focused Pages that cover a single topic — like "Logo" or "Color" — are easier for AI tools to parse than pages that combine many unrelated subjects. This is especially impactful for MCP, which retrieves individual pages on demand. # MCP Source: https://help.standards.site/ai-mcp Pro & Enterprise An MCP server that gives AI agents structured, on-demand access to your published brand guidelines. *** ## Basics The [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) is an open standard that allows AI tools to connect to external data sources. When you enable MCP on a Standards project, your published guidelines become available as a live data source that AI tools can query by page — so the tool retrieves only the information it needs, when it needs it. *** ## Enable MCP From the project sidebar in the Standards app, select **AI** to open the AI settings page. On the **MCP** card, click **Add**, then click **Get started**. Choose a security mode: * **Tokenized link** — Anyone with the MCP server link can access your guidelines. Best for personal use and trusted tools. * **Sign-in required** — Users must authenticate before accessing. Their email must be in the project's [access list](/access). Available on Enterprise plans. After setup, copy the MCP server link. This is the URL you'll paste into your AI tool's MCP configuration. *** ## How it works Once connected, the AI tool can browse your project's pages and retrieve content on demand. The MCP server exposes a tool that lists available pages and retrieves individual page content as structured markdown — including text, color values, typography specs, and image descriptions. [Adding a description](/pages#page-settings) to your pages will help AI tools retrieve the most relevant data when fulfilling requests. The server always returns content from your latest publish. After publishing changes in Standards, any connected AI tool will get the updated content on its next request. *** ## Security ### Tokenized link The default option. The MCP server link includes a unique token. Anyone with the link can query your guidelines. You can reset the token at any time from the AI settings page, which will disconnect any tools using the previous link. ### Sign-in required Enterprise Requires users to authenticate before the MCP server responds to requests. The user's email must match the project's [access list](/access). This option is available when SSO is configured on the project. *** ## Connect to AI tools ### [Claude](/ai-mcp-claude) ### [ChatGPT](/ai-mcp-chatgpt) ### [Claude Desktop](/ai-mcp-claude-desktop) ### [Claude Code](/ai-mcp-claude-code) ### [Cursor](/ai-mcp-cursor) ### [Windsurf](/ai-mcp-windsurf) ### [VS Code Copilot](/ai-mcp-copilot) # ChatGPT Source: https://help.standards.site/ai-mcp-chatgpt Connect your Standards MCP server to ChatGPT for brand-aware conversations with live access to your guidelines. MCP support in ChatGPT requires Developer Mode, currently available in beta to Pro, Plus, Business, Enterprise, and Education accounts on the web. *** ## Enable Developer Mode Developer Mode must be enabled before you can add MCP servers to ChatGPT. In [ChatGPT](https://chatgpt.com), click your profile icon in the bottom-left corner and select *Settings*. Navigate to **Apps** → **Advanced settings** and toggle on **Developer Mode**. *** ## Connect From the AI settings page in Standards, copy the MCP server link from the **MCP** card. In ChatGPT click on Settings and then Apps. Click Create app. Fill in the app details and paste the MCP URL from your Standards project. If using the "Tokenized link" security setting, switch the **Authentication** to "No Auth". * **App name** — e.g. `Brand Guidelines` * **Description** — e.g. `Access our published brand guidelines` * **MCP URL** — Paste the MCP server link copied from Standards After clicking "Create", start a new conversation. The Standards tools should be available for ChatGPT to use. *** ## Usage Once connected, ChatGPT can access your brand guidelines on demand. You can ask questions like: * *"What are our brand colors and their hex values?"* * *"Write social copy following our brand voice guidelines."* * *"What are the rules for logo clearspace?"* ChatGPT will query the relevant pages from your published guidelines to inform its response. # Claude Source: https://help.standards.site/ai-mcp-claude Connect your Standards MCP server to Claude so your brand guidelines are available in every conversation — for your entire organization or just your personal account. *** ## Add to your organization Organization admins can add the Standards MCP server so that every member has access to your brand guidelines in Claude. From the AI settings page in Standards, copy the MCP server link from the **MCP** card. In [Claude](https://claude.ai), navigate to **Settings** → **Organization** → **Connectors**. Click **Add**, select **Custom → Web**, and paste your Standards MCP server link. If you are using the tokenized link, set **OAuth Client ID** under Advanced settings to the token. The token is the last portion of the url after `?token=`. If you are using Sign-in required authorization, leave this empty. Once added, all members of your organization will be able to use your brand guidelines in their conversations. *** ## Add to your personal account If you want to connect Standards to your own Claude account without affecting your organization, add it as a personal integration. From the AI settings page in Standards, copy the MCP server link from the **MCP** card. In [Claude](https://claude.ai), navigate to \*\*Customize \*\*→ **Connectors**. Click **Add**, select **Add Custom Connector**, and paste your Standards MCP server link. If you are using the tokenized link, set **OAuth Client ID** under Advanced settings to the token. The token is the last portion of the url after `?token=`. If you are using Sign-in required authorization, leave this empty. Your brand guidelines will now be available as a tool in your conversations. *** ## Usage Once connected, Claude can access your brand guidelines on demand. You can ask questions like: * *"What are our brand colors and their hex values?"* * *"Write social copy following our brand voice guidelines."* * *"What are the rules for logo clearspace?"* Claude will query the relevant pages from your published guidelines to inform its response. # Claude Code Source: https://help.standards.site/ai-mcp-claude-code Connect your Standards MCP server to Claude Code for brand-aware coding assistance in your terminal. *** ## Connect From the AI settings page in Standards, copy the MCP server link from the **MCP** card. Run the following command in your terminal, replacing `YOUR_MCP_LINK` with the link you copied: ```bash theme={null} claude mcp add --transport http standards "YOUR_MCP_LINK" ``` Start a new Claude Code session. The Standards MCP server will be available as a tool. *** ## Usage Once connected, Claude Code can reference your brand guidelines while writing code. This is useful for: * Generating CSS with your exact brand colors and typography values * Building components that follow your design system specifications * Writing copy or content that matches your brand voice * Reviewing code for brand consistency Ask questions like: * *"Create a CSS variables file using our brand colors."* * *"Build a React component for our primary button following the brand guidelines."* * *"What font families and weights does our brand use?"* # Claude Desktop Source: https://help.standards.site/ai-mcp-claude-desktop Connect your Standards MCP server to Claude Desktop for brand-aware conversations with live access to your guidelines. *** ## Basics Claude Desktop will share custom connectors with Claude on the web and the connectors can be added from the desktop application following the [same process](https://help.standards.site/ai-mcp-claude). Alternatively, a connection can be added to the desktop app without syncing it to your Claude account. *** ## Connect From the AI settings page in Standards, copy the MCP server link from the **MCP** card. In Claude Desktop, open **Settings** → **Developer** → **Edit Config** to open your `claude_desktop_config.json` file. Add your Standards MCP server to the configuration. Replace `YOUR_MCP_LINK` with the link you copied: ```json theme={null} { "mcpServers": { "standards": { "command": "npx", "args": [ "mcp-remote", "YOUR_MCP_LINK" ] } } } ``` Close and reopen Claude Desktop. You should see a tool icon indicating the MCP server is connected. *** ## Usage Once connected, Claude can access your brand guidelines on demand. You can ask questions like: * *"What are our brand colors and their hex values?"* * *"Write social copy following our brand voice guidelines."* * *"What are the rules for logo clearspace?"* Claude will query the relevant pages from your published guidelines to inform its response. # VS Code Copilot Source: https://help.standards.site/ai-mcp-copilot Connect your Standards MCP server to GitHub Copilot in VS Code for brand-aware coding assistance. *** ## Connect From the AI settings page in Standards, copy the MCP server link from the **MCP** card. Open the VS Code command palette with Cmd+Shift+P and search for **MCP: Add Server...** Select **HTTP (HTTP or Server-Sent Events)** and paste your Standards MCP server link. Assign a name (e.g. `standards`) and select whether to add the server to all projects (Global) or only the active project (Workspace). Open GitHub Copilot Chat in VS Code. The Standards tools should be available in the chat. *** ## Usage Once connected, Copilot Chat can reference your brand guidelines while you work. Use the chat panel to ask questions like: * *"What are our primary brand colors? Generate CSS custom properties for them."* * *"Create a component that follows our typography guidelines."* * *"What spacing and layout rules does our brand specify?"* # Cursor Source: https://help.standards.site/ai-mcp-cursor Connect your Standards MCP server to Cursor for brand-aware coding assistance in your editor. *** ## Connect From the AI settings page in Standards, copy the MCP server link from the **MCP** card. In Cursor, open **Settings** → **Cursor Settings** → **Tools & MCP**. Click **Add Custom MCP** to open the `mcp.json` configuration file. Add an entry to **mcpServers** with the following content, replacing \*\*YOUR\_MCP\_LINK \*\*with the link you copied: ```text theme={null} "standards": { "url": "YOUR_MCP_LINK" } ``` The server should appear in the Installed MCP Servers list with a green status indicator. *** ## Usage Once connected, Cursor's AI features (Chat, Composer, and inline edits) can access your brand guidelines. This is useful for: * Generating styles and design tokens that match your brand * Writing front-end components using your exact color and typography values * Getting brand-consistent copy suggestions directly in your editor In Cursor's chat or Composer, ask questions like: * *"Use our brand guidelines to create a Tailwind config with our color palette."* * *"What typography scale does our brand use? Set up the CSS."* * *"Build a header component following our brand guidelines."* # Windsurf Source: https://help.standards.site/ai-mcp-windsurf Connect your Standards MCP server to Windsurf for brand-aware coding assistance in your editor. *** ## Connect From the AI settings page in Standards, copy the MCP server link from the **MCP** card. In Windsurf, open the command palette (Cmd+Shift+P) and search for **Windsurf: MCP Marketplace**. From the\*\* Installed MCPS\*\* section, click the configuration button to\*\* \*\*open the `mcp_config.json` file. Add your Standards MCP server to the configuration. Replace `YOUR_MCP_LINK` with the link you copied: ```json theme={null} { "mcpServers": { "standards": { "serverUrl": "YOUR_MCP_LINK" } } } ``` Save the file. The Standards MCP server should appear in your connected servers. *** ## Usage Once connected, Windsurf's Cascade AI can access your brand guidelines. Ask questions like: * *"Generate a color system using our brand guidelines."* * *"Create a typography scale based on our brand specifications."* * *"What are our logo usage rules?"* # standards.md Source: https://help.standards.site/ai-standards-md Pro & Enterprise An AI-generated markdown file that distills your entire brand guidelines project into a single, portable document optimized for LLMs. *** ## Enable standards.md Generative AI must be enabled in your workspace settings before you can use standards.md. A workspace admin can enable this from **Workspace Settings** → **AI**. From the project sidebar in the Standards app, select **AI** to open the AI settings page. On the **standards.md** card, click **Add**, then click **Generate** to create your file. Your project must be published before generating. Once generated, you can copy the share link or download the file directly. Use whichever method your AI tool supports. *** ## How it works When you enable standards.md, Standards uses AI to analyze your published guidelines and produce a structured file purpose-built for AI consumption. Each page is classified by type — color, typography, logo, voice, and more — and processed with specialized extraction tailored to that category. Color pages produce precise palette tables with HEX, RGB, CMYK, and Pantone values. Typography pages output font hierarchy tables with families, weights, and sizes. Voice and tone pages are converted into actionable directives. A quick reference section synthesizes the most important brand rules across all pages, giving AI tools immediate access to your core guidelines without reading the full document. The file also includes direct links to individual pages — both the published site and AI-optimized endpoints — so tools can drill into specific topics when they need more detail. *** ## Keeping it up to date Your standards.md file is automatically regenerated every time you publish. If you're using the share link, AI tools will always fetch the latest version. If you downloaded the file, re-download it after publishing to get updates. *** ## Security The standards.md share link includes a unique token. Anyone with the link can access the file. You can reset the token at any time from the AI settings page — this will invalidate the previous link. *** ## Use it with AI tools ### [Claude](/ai-standards-md-claude) ### [ChatGPT](/ai-standards-md-chatgpt) ### [Gemini](/ai-standards-md-gemini) ### [Microsoft Copilot](/ai-standards-md-copilot) # ChatGPT Source: https://help.standards.site/ai-standards-md-chatgpt Use your standards.md file with ChatGPT to get brand-aware responses in any conversation. For the best experience with ChatGPT, consider [adding the MCP server](/ai-mcp-chatgpt) via Developer Mode instead. MCP gives ChatGPT on-demand access to your latest guidelines in every conversation without any manual steps. *** ## Add to a custom GPT For persistent brand context across every conversation, upload your standards.md file to a custom GPT. Custom GPTs use an uploaded file and will not automatically update when you re-publish. Re-upload the standards.md file after making changes to keep it current. In ChatGPT, navigate to **Explore GPTs** → **Create** to open the custom GPT editor. In the **Configure** tab, fill in the following fields. Replace "your brand" with your actual brand name: **Name** ```text theme={null} Brand Guidelines Assistant ``` **Description** ```text theme={null} Answers questions about your brand and produces on-brand content using your published brand guidelines from Standards. ``` **Instructions** ```text theme={null} You are a brand guidelines expert. Use the uploaded standards.md file as your primary source of truth for all brand-related questions and content creation. When answering questions or producing content: - Reference specific guidelines from the document (colors, typography, voice, logo usage, etc.) - Cite exact values when relevant (hex codes, font names, spacing rules) - Follow the brand voice and tone guidelines for any written content - If the guidelines don't cover something, say so rather than guessing When asked to create content (copy, emails, social posts, etc.), always apply the brand voice and tone guidelines. When asked about visual elements (colors, fonts, logo), provide the exact specifications from the guidelines. Never contradict the guidelines. If a user's request conflicts with the guidelines, flag the conflict and suggest an on-brand alternative. ``` Scroll to **Knowledge** and upload your standards.md file. Save and publish your custom GPT. It will now use your brand guidelines in every conversation. *** ## Paste the link For one-off conversations, paste the share link directly into a message. The link always fetches your latest published guidelines. From the AI settings page in Standards, click the copy button on the standards.md card. Open [ChatGPT](https://chatgpt.com), start a new conversation, and paste the link into the message input along with your prompt. For example: *"Here are my brand guidelines: \[paste link]. Write an email announcement using these guidelines."* *** ## Upload the file You can download the file and attach it directly to a conversation. Uploaded files are a snapshot and will not reflect changes published after the file was downloaded. Re-download after publishing to stay current. Select the project, then copy the standards.md link, then load the link in a new tab. Save the file by pressing command + s on your keyboard. Open [ChatGPT](https://chatgpt.com) and start a new conversation. Click the attachment icon in the message input and select your downloaded standards.md file. With the file attached, ask ChatGPT to reference your brand guidelines. For example: *"Using the attached brand guidelines, write social media copy for a product launch."* # Claude Source: https://help.standards.site/ai-standards-md-claude Use your standards.md file with Claude to get brand-aware responses in any conversation. For the best experience with Claude, consider [adding the MCP server](/ai-mcp-claude) as a connector instead. MCP gives Claude on-demand access to your latest guidelines in every conversation without any per-project setup. *** ## Add to a Claude project (recommended) Adding a custom instruction to a Claude project is the best way to use standards.md with Claude. By pointing Claude to your share link, every conversation in the project will fetch the latest version of your guidelines automatically — no manual updates needed after each publish. In [Claude](https://claude.ai), open an existing project or create a new one. From the AI settings page in Standards, click the copy button on the standards.md card. In the project settings, add a custom instruction that tells Claude to fetch your guidelines from the share link. For example: *"Visit this URL to get an up to date brand guidelines document: \[paste link]. Reference these guidelines for all brand-related questions including tone, color values, typography, and logo usage."* Make sure the web search tool is enabled for the project to allow Claude to fetch the standards.md file. This can be done from the instructions editor in project settings by selecting `Add Tools` and checking `Web search.` Conversations in this project will now have your brand guidelines available as context. For example: *"Write product descriptions that match our brand voice."* *** ## Paste the link For one-off conversations, paste the share link directly into a message. The link always fetches your latest published guidelines. From the AI settings page in Standards, click the copy button on the standards.md card. Open [Claude](https://claude.ai), start a new conversation, and paste the link into the message input along with your prompt. For example: *"Here are my brand guidelines: \[paste link]. Create a press release following these guidelines."* *** ## Upload the file You can download the file and attach it to a conversation or project. Uploaded files are a snapshot and will not reflect changes published after the file was downloaded. Re-download after publishing to stay current. Select the project, then copy the standards.md link, then load the link in a new tab. Save the file by pressing command + s on your keyboard. Open [Claude](https://claude.ai) and start a new conversation. Click the attachment icon in the message input and select your downloaded standards.md file. With the file attached, ask Claude to reference your brand guidelines. For example: *"Using the attached brand guidelines, write product descriptions that match our brand voice."* # Microsoft Copilot Source: https://help.standards.site/ai-standards-md-copilot Use your standards.md file with Microsoft Copilot to get brand-aware responses in any conversation. For a persistent setup, [Microsoft Copilot Studio](https://www.microsoft.com/en-us/microsoft-copilot/microsoft-copilot-studio) supports adding public URLs as knowledge sources and connecting MCP servers. This requires an admin or developer to configure through Copilot Studio rather than the standard Copilot chat. *** ## Paste the link Paste the share link directly into a conversation. The link always points to your latest published guidelines. From the AI settings page in Standards, click the copy button on the standards.md card. Open [Microsoft Copilot](https://copilot.microsoft.com), start a new conversation, and paste the link into the message input along with your prompt. For example: *"Here are my brand guidelines: \[paste link]. Write a company announcement following these guidelines."* *** ## Upload the file You can download the file and attach it directly to a conversation. Uploaded files are a snapshot and will not reflect changes published after the file was downloaded. Re-download after publishing to stay current. Select the project, then copy the standards.md link, then load the link in a new tab. Save the file by pressing command + s on your keyboard. Open [Microsoft Copilot](https://copilot.microsoft.com) and start a new conversation. Click the **+** icon in the message input and select **Add images or files**, then choose your downloaded standards.md file. With the file attached, ask Copilot to reference your brand guidelines. For example: *"Using the attached brand guidelines, draft an internal email about our updated visual identity."* # Gemini Source: https://help.standards.site/ai-standards-md-gemini Use your standards.md file with Google Gemini to get brand-aware responses in any conversation. *** ## Add to a Gem Creating a Gem with your standards.md file gives every conversation using it persistent access to your brand guidelines. Uploaded files are a snapshot and will not automatically update when you re-publish. Re-upload the standards.md file after making changes to keep it current. In [Gemini](https://gemini.google.com), navigate to **Gem manager** and create a new Gem. Fill in the following fields. Replace "your brand" with your actual brand name: **Name** ```text theme={null} Brand Guidelines Assistant ``` **Description** ```text theme={null} Answers questions about your brand and produces on-brand content using your published brand guidelines from Standards. ``` **Instructions** ```text theme={null} You are a brand guidelines expert. Use the uploaded standards.md file as your primary source of truth for all brand-related questions and content creation. When answering questions or producing content: - Reference specific guidelines from the document (colors, typography, voice, logo usage, etc.) - Cite exact values when relevant (hex codes, font names, spacing rules) - Follow the brand voice and tone guidelines for any written content - If the guidelines don't cover something, say so rather than guessing When asked to create content (copy, emails, social posts, etc.), always apply the brand voice and tone guidelines. When asked about visual elements (colors, fonts, logo), provide the exact specifications from the guidelines. Never contradict the guidelines. If a user's request conflicts with the guidelines, flag the conflict and suggest an on-brand alternative. ``` Under **Knowledge**, click **+** and upload your downloaded standards.md file. Save the Gem. Conversations using it will now reference your brand guidelines. *** ## Upload the file For one-off conversations, you can download the file and attach it directly. Uploaded files are a snapshot and will not reflect changes published after the file was downloaded. Re-download after publishing to stay current. Select the project, then copy the standards.md link, then load the link in a new tab. Save the file by pressing command + s on your keyboard. Open [Gemini](https://gemini.google.com) and start a new conversation. Click the attachment icon in the message input and select your downloaded standards.md file. With the file attached, ask Gemini to reference your brand guidelines. For example: *"Using the attached brand guidelines, suggest color pairings for a new landing page."* # Analytics API Source: https://help.standards.site/analytics-api Enterprise The analytics API is a JavaScript API available on all published projects. It lets your custom scripts listen to visitor interactions like page views, downloads, and more. *** ## Quickstart In your [header or footer scripts](/custom-scripts), register a listener: ```html theme={null} ``` Or listen to all events at once using `*`: ```html theme={null} ``` *** ## How it works A `window.standards` object is initialized in the `` of every published project, before any custom scripts run. This means your header scripts can call `standards.on()` immediately — no need to wait for a `load` or `DOMContentLoaded` event. Events are emitted by the application after the page renders. All listeners registered by the time the page renders will receive events. ### Event shape Every event has the same structure: ```javascript theme={null} { event: 'page_view', // Event name timestamp: 1707840000000, // Unix timestamp in milliseconds properties: { page_path: '/brand', // Current page path page_title: 'Brand Guide', // Current page title // ...additional properties depending on the event }, user: { session_id: 'a1b2c3d4-...', // Unique session ID (always present) email: 'user@company.com', // Only if Include User Identity is enabled user_id: 'abc123', // Only if Include User Identity is enabled ip: '192.168.1.1' // Only if Include User Identity is enabled } } ``` *** ## Events ### `page_view` Fired on initial page load and when the visitor navigates between pages. | Property | Type | Description | | - | :- | - | | `page_path` | string | The path of the page viewed | | `page_title` | string | The title of the page viewed | | `language` | string | The locale code of the active language (e.g. `en`,` fr`, `es`) | ### `download_file` Fired when a visitor clicks a download link. | Property | Type | Description | | - | - | - | | `file_id` | string | The file’s unique ID | | `file_name` | string | The file’s display name | | `file_type` | string | The file extension (e.g. `pdf`, `png`) | ### `play_video` Fired when a visitor explicitly triggers video playback (click or hover). **Not** fired when a video autoplays on scroll. | Property | Type | Description | | - | - | - | | `video_id` | string | The video file’s unique ID | | `video_title` | string | The video’s alt text or file name | ### `change_slide` Fired when a visitor navigates slides in a Sequence or Toggle element. **Not** fired on autoplay transitions. | Property | Type | Description | | - | - | - | | `slide_id` | string | The slide element’s unique ID | | `slide_title` | string | The slide element’s name | | `slide_index` | number | The zero-based index of the new slide | ### `change_language` Fired when a visitor switches the project’s language. | Property | Type | Description | | - | - | - | | `language` | string | The locale code selected (e.g. `en`, `fr`, `es`) | ### `copy_hex_code` Fired when a visitor clicks a color swatch to copy its value. | Property | Type | Description | | - | - | - | | `hex_code` | string | The copied color value | ### `copy_share_link` Fired when a visitor clicks a share link button. | Property | Type | Description | | - | - | - | | `share_link` | string | The URL or text that was copied to the clipboard | *** ## User identity By default, events include only a `session_id` — a randomly generated UUID that persists for the browser session. To include the visitor’s `email`, `user_id`, and `ip` in events, enable **Include User Identity** in the [Custom Scripts settings](/custom-scripts). This only applies to projects that require a sign in to view. Public and password-protected projects do not have user identity data available. *** ## Example Forwarding to a Third-Party Analytics Platform ```html theme={null} ``` *** ## API reference ### `standards.on(event, callback)` Register a listener for a specific event or all events. | Parameter | Type | Description | | - | - | - | | `event` | string | Event name (e.g. `'page_view'`) or `'*'` for all events | | `callback` | function | Called with the event object when the event fires | ### `standards.hasGoogleAnalytics` A boolean indicating whether the native Google Analytics integration is active on this project. Use this to avoid sending duplicate events to GA. # Introduction Source: https://help.standards.site/api Enterprise The Standards API provides programmatic access to your project information and brand guidelines for service integrations and AI agents. This feature is currently in preview. To request early access before the full release, contact [support@standards.site](mailto:support@standards.site) The API is protected with OAuth 2.0 to ensure your data is only available to individuals or services that have been granted access. To get started, you will need an API key, which can be created from your workspace dashboard. ## Create an API key Sign in to your Standards workspace, navigate to the workspace settings page, and select the `API` tab. Api 01 Click the `Generate key` button to configure and create a new API key. In the dialog, enter a name, select the capabilities for the key, and select the projects it will be able to access (if any project capabilities are enabled). Api 02 After clicking `Generate key`, you will be shown a dialog with the `Client ID` and `Client Secret`. These will only be shown once, and cannot be retrieved once the dialog is closed to ensure they remain secure. Store these in a secure location following best practices for your company. [Azure Key Vault](https://azure.microsoft.com/en-us/products/key-vault), [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/), or [Google Cloud Secret Manager](https://cloud.google.com/security/products/secret-manager) are commonly used for this purpose. Api 03 The client id and secret can now be used to retrieve authorization tokens for [making API requests](/api-requests). ## Configuration ### API key name The name is only used as a label for the key when viewing it in the dashboard. It may be useful to select a name that describes how it will be used and share the name with the entry for the client secret in your secure storage. ### Workspace scopes If a scope is enabled, requests using this API key made to endpoints requiring the scope will be authorized. The scopes required for each endpoint can be found in the [reference](/api-reference/schema.yaml). Workspace scopes control access to workspace information. * `settings.read` Allows workspace information to be retrieved. * `projects.read` Allows projects in the workspace to be listed with basic information. ### Project scopes Project scopes control access to project information and content from published sites. * `data.read` Allows project information to be retrieved. * `styles.read` Allows styles to be listed along with basic information. * `files.read` Allows files to be listed along with basic information. * `document.read` Allows pages to be listed and page content to be retrieved. ### Projects Project scopes apply to all projects in the workspace by default. When at least one project scope is selected, a project picker will become available to allow restricting to a specific set of projects instead. # Key Rotation Source: https://help.standards.site/api-key-rotation It is often recommended or required by organizations to rotate API keys periodically as a proactive measure against potential leaks of sensitive data. If your client secret has been compromised, you should immediately [revoke the API key](/api-revoking-access). However, if you would just like to update the secret you can rotate the key without downtime for any existing uses. Create a [new API key](/api#create-an-api-key) with the same access as the key you intend to rotate. Replace the previously stored client id and secret with the values for the new key. Any services that hold the id and secret in memory will need to refresh the values, either by waiting for a pre-configured expiry duration or manually restarting the process. From the `API` tab on the workspace settings page, select `Delete` from the key's menu (found on the far right of the table row for the key). # Retrieve the content of a published page as markdown (scope: document.read) Source: https://help.standards.site/api-reference/page/retrieve-the-content-of-a-published-page-as-markdown-scope:-documentread /api-reference/schema.yaml get /workspace/{workspace-id}/project/{project-id}/page/{page-id} # Retrieve information about a project (scope: data.read) Source: https://help.standards.site/api-reference/project/retrieve-information-about-a-project-scope:-dataread /api-reference/schema.yaml get /workspace/{workspace-id}/project/{project-id} # Retrieve the list of files uploaded to the project (scope: files.read) Source: https://help.standards.site/api-reference/project/retrieve-the-list-of-files-uploaded-to-the-project-scope:-filesread /api-reference/schema.yaml get /workspace/{workspace-id}/project/{project-id}/files # Retrieve the list of pages in the project (scope: document.read) Source: https://help.standards.site/api-reference/project/retrieve-the-list-of-pages-in-the-project-scope:-documentread /api-reference/schema.yaml get /workspace/{workspace-id}/project/{project-id}/pages # Retrieve the list of styles defined for the project (scope: styles.read) Source: https://help.standards.site/api-reference/project/retrieve-the-list-of-styles-defined-for-the-project-scope:-stylesread /api-reference/schema.yaml get /workspace/{workspace-id}/project/{project-id}/styles # List the projects in a workspace (scope: projects.read) Source: https://help.standards.site/api-reference/workspace/list-the-projects-in-a-workspace-scope:-projectsread /api-reference/schema.yaml get /workspace/{workspace-id}/projects # Retrieve information about a workspace (scope: settings.read) Source: https://help.standards.site/api-reference/workspace/retrieve-information-about-a-workspace-scope:-settingsread /api-reference/schema.yaml get /workspace/{workspace-id} # API Requests Source: https://help.standards.site/api-requests ## Authorization The Standards API is protected with OAuth 2.0 and supports interactive and service login for retrieving access tokens. For both scenarios, you will need an API key which can be created from your workspace settings page in the Standards app. ### Service login Service login uses the client credentials OAuth flow to retrieve an access token without user interaction. To perform this action, POST a request to the Standards OAuth server's token endpoint at `https://api.standards.site/oauth/token` with form encoding and these fields: * `grant_type` For service login, this should be set to `client_credentials` * `resource` This is a URL in the format `https://api.standards.site/workspace/$WORKSPACE_ID` where `$WORKSPACE_ID` is the id of the workspace for which access is being requested. Your id can be taken from the URL of your workspace when logged in to the Standards app. As an example, the URL may be `https://app.standards.site/workspace/2e8cbaff83a` in which case `$WORKSPACE_ID` is `2e8cbaff83a` * `client_id` The ID you were given after creating an API key to identify the API key to use for authentication * `client_secret` The secret value for the same API key The server will respond with a JSON object containing these properties: * `access_token` A string containing the access token to send in the `Authorization` header as a bearer token in API requests * `token_type` This will always be the string `Bearer`, indicating access\_token is to be used as a bearer token * `expires_in` The number of seconds the token can be used before a new one will need to be retrieved * `scope` A space separated list of scopes that have been granted for the token, as defined by the API key * `resource` The resource the token is authorized to access, which matches the resource sent with the request ### Interactive login Coming soon ## Testing the API To retrieve an access token for testing, use one of the following commands depending on your platform. You will be prompted to enter the Workspace ID, Client ID, and Client Secret and the full JSON response, including the access token will be printed. ```bash Bash theme={null} printf "Workspace ID: "; read WORKSPACE_ID printf "Client ID: "; read CLIENT_ID printf "Client Secret: "; read -s CLIENT_SECRET; echo curl -sS -X POST "https://api.standards.site/oauth/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ --data-urlencode "grant_type=client_credentials" \ --data-urlencode "client_id=$CLIENT_ID" \ --data-urlencode "client_secret=$CLIENT_SECRET" \ --data-urlencode "resource=https://api.standards.site/workspace/$WORKSPACE_ID" ``` ```powershell Powershell theme={null} $WORKSPACE_ID = Read-Host "Workspace ID" $CLIENT_ID = Read-Host "Client ID" $CLIENT_SECRET = Read-Host "Client Secret" -AsSecureString $CLIENT_SECRET = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($CLIENT_SECRET)) $body = @{ grant_type = "client_credentials" client_id = $CLIENT_ID client_secret = $CLIENT_SECRET resource = "https://api.standards.site/workspace/$WORKSPACE_ID" } Invoke-RestMethod -Method Post -Uri "https://api.standards.site/oauth/token" -ContentType "application/x-www-form-urlencoded" -Body $body | ConvertTo-Json -Compress ``` This access token can be used in the [API reference](/api-reference) to explore the various endpoints. From the reference page for any endpoint, click the try it button to open a dialog where you can paste the access token, set any other required paramaters, send the request, and see the response. All requests will require the workspace ID, requests for project information will require the project id, and requests for page information will require the page id. * `workspace-id` This is the same value that was used to retrieve the access token * `project-id` Use the [list projects](/api-reference/workspace/list-the-projects-in-a-workspace-scope:-projectsread) endpoint to retrieve the ids for all projects in the workspace * `page-id` Use the [list pages](/api-reference/project/retrieve-the-list-of-pages-in-the-project-scope:-documentread) endpoint to retrieve the ids for all pages in the project # Revoking Access Source: https://help.standards.site/api-revoking-access An API key can be temporarily disabled or permanently deleted to immediately halt its use in retrieving authorization tokens. From the `API` tab on the workspace settings page, locate the API key by name in the table. Open the menu in the right-most column of the table and select `Disable` or `Delete`. A disabled key can later be re-enabled through the same menu, whereas a deleted key cannot be recovered. Api 04 Once a key has been disabled or deleted: * Any attempts to retrieve an authorization token using the key will receive an `Unauthorized` response. * Existing authorization tokens will continue to function until they expire (expiration time is 15 minutes). * Existing refresh tokens will no longer be able to be exchanged for authorization tokens. # Automations Source: https://help.standards.site/automations Automations are a powerful tool that helps quickly automate commonly-used content within brand guidelines. *** ## Automation Basics Automations streamline the tedious parts of guidelines so you can focus on the work that needs your talent, not your time. They are generated after choosing an outline in project setup, or at will within the editor when using the add tool. **Keep in mind:** Automations are a great starting point and once added they can be altered to best fit your brand. *** ## Adding Automations Add menu dropdown open showing a list of all options Automations can be added to projects using the add Automation tool A. Many are a multi-step interface where layout and content is chosen to power the outcome of the Automation. From within the editor, select **Automation** from the  `+` menu in the top bar, or use the hotkey A Select a point in the project body by selecting between layouts Choose the Automation from the pop-up window Many Automations have multiple steps to choose preferences *** ## Automation types Below are the Automations that can be added to your site. **Note:** Some Automations have been archived and are no longer available beyond app release 11.12. This decision is to bring more focus on the growing amount of special Automations. ### Sectioning A large flexible hero area with a title, logo, and background color or image, much like the cover of a book. List of pages and sections with links An abbreviated version of the cover at the beginning of each new section – think of it a bit like a chapter heading, containing information for that section. Titles and descriptions typically shown at the beginning of each subsection Navigational element linking to previous and next pages A consistent design element typically at the bottom of the page with contact info and resource links. ### Media Sequence with a single slide in view at a time Sequence with multiple slides showing at one time Sequence automatically scrolling through a loop of slides Display multiple media items in rows and columns A large image extending to the max width or window boundary. Apply this as a background image or large-scale image. ### Logo A large primary logo in a container Examples of the logo on selected brand colors Example of the logo on white and knocked out on black Highlight a progression of type sizes in a horizontal or vertical display. Together the primary logo and supporting logo comprise the logo collection. Briefly describe how and when each logo should be used. Automatically show common examples of logo treatments to avoid. ### Typography Displays the uppercase, lowercase, numerals, and common characters in a typeface. Displays all the weights for a selected typeface. An input field enabling viewers to test out a typeface at a specified weight, size, tracking, and leading. The individual characters shown isolated in a grid. Ideal for handwritten faces or type with intricate details. Automatically show a range of type sizes. Show principles in composition with a ‘do’ next to a ‘don’t’. Show incorrect usage and formatting of a brand elements. ### Color Show swatches of brand colors. Organized by scale, determine how much of each color is used by our brand. A way to show brand colors stacked together. Overlaid color combinations to use or avoid Do's and don'ts of color usage Show incorrect usage and formatting of a color usage. ### Strategy Placeholder for a list of groups of people that help the brand thrive. Placeholder for a clear and attainable goal a brand strives for every day. Placeholder for a unique set of characteristics that make a brand feel truly human. Include language that strives to maintain this personality in all communications. ### Language Placeholder for subject matter that is important to communicate in the brand, products, or services. Placeholder for an external piece of language that sums up the brand’s promise in a few memorable words. Placeholder for a narrative to create an emotional, value-driven connection to the brand’s core beliefs. Placeholder for do’s and don’ts when working with CTAs. # Backups Source: https://help.standards.site/backups Review previous versions of your site with backups. See what has changed and restore to a previous version. Example of selecting the backups preview mode within the project editor, enabling a visual timeline of past project versions *** ## View backups Backups are previous version of your site, automatically and manually created. Browse, preview, and revert to past backups of your projects. This is helpful if inadvertent changes were made. Within the project editor, select the gear icon from the top bar. At the bottom select `Review` to view past backups You will enter a preview mode where past versions of your project can be selected from a row of timestamps in a bottom bar. Select previous versions to preview them. If you do not wish to revert to a previous version, select `Back` *** ## Revert to a project to a backup Reverting to a project backup will revert to a previous version making it now the version shown within the project editor, and if published the new live site. **Keep in mind:** Reverting to a previous version will undo all changes that have happened after that backup was created. Deleted files will not be available in reverted versions. Within the project editor, select the gear icon from the top bar. At the bottom select `Review` to view past backups You will enter a preview mode where past versions of your project can be selected from a row of timestamps in a bottom bar. Select previous versions to preview them. Select a previous version from the timestamps, then select `Revert to this version` *** ## Create a backup Backups are automatic, but you can create a new backup at any time. The frequency of backups ramps up and down based on frequency of edits. If you're editing actively automatic backups will occur regularly. If nothing has been editing for hours, days, or longer, no automatic backup will occur. Within the project editor, select the gear icon from the top bar. At the bottom select `Create` to create a backup A backup has now been created, and information on who and when it was created is listed *** ## Tips * If you're uneasey about reverting to a past backup, you can duplicate the project to retain the current version, then revert to a backup * Deleted files are not recovered when reverting, but you can re-upload the files and if they share the same file name as before they will automatically show where they were once used. # Button Source: https://help.standards.site/button Buttons are flexible elements with visual impact that are used in various ways such as linking to file downloads and hyperlinking between pages. Examples of various button designs *** ## Button basics **Buttons** are an element that can be added to your project layout and menu, and consists of three parts: the button container, the text content, and the icon content. **Buttons** may have **Text**, **Icon,** or both shown or hidden. ### Button variations Button with text and icon Simple square button with arrow icon Pill shaped button with text **Button** with text & icon content turned on. **Button** with just icon content turned on. **Button** with just text content turned on. ### Adding buttons Add menu dropdown open showing a list of all options From within the editor, select **Button** from the  `+` menu in the top bar, or use the hotkey B Select a point in the project body by selecting between layouts, click + dragging within, or selecting a point inside a column. Select the click behavior button from the contextual toolbar and choose the desired behavior, like download file or link to page. *** ## General use **Buttons** have a wide range of use. Here are common general uses: ### Linking Setting **On click** → **Link to** is a common use for making buttons into navigating elements in body and in menus. ### Menu items Building menus with **buttons** is a great way to create navigation items. Doing this allows for a wide range of styling, beyond regular **text**, such as hover and active states. Button Menu Item *** ## Advanced **Buttons** can be used in creative ways to enhance a site’s navigation with larger visual impact.