This is the abridged developer documentation for EkLine # EkLine documentation > How to measure what AI assistants and coding agents say and do with your product, and fix what they read. EkLine is a set of AI agents for developer tool and API companies. They check what ChatGPT and Claude say about your product and whether coding agents like Cursor can build with it, then fix the docs, help center, and marketing pages those agents read, using your code, pull requests, and support tickets. Every change arrives as a pull request or draft your team approves. ## How it works [Section titled “How it works”](#how-it-works) 1. **Measure.** Journeys asks AI assistants the questions your buyers ask, gives coding agents tasks with your product, and checks every answer. 2. **Fix.** Docs Agent and Marketing Agent draft changes to the docs, help center articles and marketing posts those agents read. 3. **Approve.** Your team reviews each pull request or draft. Nothing merges or publishes without your approval. 4. **Run it again.** Run the same journeys again and see what changed. Read [How EkLine works](/get-started/how-ekline-works/) for each step, and what EkLine reads and writes. ## Start here [Section titled “Start here”](#start-here) [Get your first AI report ](/get-started/first-ai-report/)See how ChatGPT, Claude, Perplexity and Gemini answer 15 questions buyers ask about products like yours. [Ship your first docs pull request ](/agent/getting-started/)Connect a docs repository, ask Docs Agent for a change, and review the pull request it opens. [Check your docs in CI ](/reviewer/quickstart/)Run Docs Reviewer on every docs change, before it merges. Setting EkLine up for your team? Work through [Set up your workspace](/get-started/set-up-your-workspace/). ## Find your way around [Section titled “Find your way around”](#find-your-way-around) Journeys Ask AI assistants and coding agents what your buyers and developers ask, many times each, and see what they say and do. [Journeys overview](/journeys/) Agents Give Docs Agent and Marketing Agent context, start work from the editor, GitHub, GitLab, Slack and more, and review what they draft. [Agents overview](/agent/) · [Marketing Agent](/marketing-agent/) Docs Reviewer Check every docs change against your style guide in CI, VS Code, Google Docs or the CLI. [How Docs Reviewer works](/reviewer/overview/) Workspace Connect GitHub, GitLab and your other tools, add members, and see how credits and data are handled. [Integrations](/agent/integrations/) · [Security and data](/workspace/security-and-data/) Reference Tables for MCP tools, automation templates, journey agents and checks, and Docs Reviewer rules. [MCP tools](/reference/mcp-tools/) · [Automation templates](/reference/automation-templates/) · [Journey agents and checks](/reference/journey-agents-and-checks/) · [Docs Reviewer rules](/reviewer/rules/) · [Glossary](/reference/glossary/) · [Changelog](/changelog/) ## Make your docs AI-ready [Section titled “Make your docs AI-ready”](#make-your-docs-ai-ready) AI assistants, answer engines, and crawlers now read your documentation alongside human readers. The guides below apply to any documentation site, whether or not you use EkLine. Monitor AI traffic Understand which AI bots read your docs, identify them in your logs, and measure their activity. [Understand AI traffic →](/guides/ai-traffic/understanding/) Prepare your docs for AI Serve Markdown, add an llms.txt file, and control which AI crawlers can access your content. [Browse the guides →](/guides/) ## For AI agents [Section titled “For AI agents”](#for-ai-agents) * **llms.txt**: start from , which lists this documentation by section. * **Markdown**: every page has a Markdown version at the same path ending in `.md`, for example `https://docs.ekline.io/agent.md`. * **MCP server**: `https://ekline.io/api/mcp` lets an agent start and follow Docs Agent and Marketing Agent sessions with a personal API key, and search these docs. See [MCP clients](/agent/mcp/). # Get your first AI report > Create your EkLine organization and run the free AI report: 15 buyer questions asked on ChatGPT, Claude, Perplexity and Gemini. Run the free AI report for your company. You get a Buyer questions report that shows whether AI assistants recommend you, and whether what they say about you is right. ## What the report measures [Section titled “What the report measures”](#what-the-report-measures) EkLine writes 15 questions a buyer would ask an AI assistant about products like yours. It asks each question 10 times on each of ChatGPT, Claude, Perplexity and Gemini, with web search on: 600 answers in all. | Questions | How many | What they measure | | ------------------------------ | -------- | --------------------------------------------------------------------------------------- | | Questions that do not name you | 10 | Whether the assistant recommends you rather than only mentioning you | | Questions that name you | 5 | Whether what the assistant says about you agrees with the profile you confirm in step 5 | EkLine saves the questions as a collection named **Buyer questions**, and each run of it produces a Buyer questions report. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * You need a GitHub account, a Google account, or an email address you can verify, and your company’s public website. You connect no repository or integration. * Each organization gets one free report. ## Steps [Section titled “Steps”](#steps) 1. Sign up at [ekline.io/auth/sign-up](https://ekline.io/auth/sign-up). Click **Sign in with GitHub** or **Sign in with Google**, or sign up with your email address and a password. If EkLine sends you a verification email, open the link in it to verify your address. 2. On **Almost there!**, leave **Claim acme.com as your organization’s domain** selected and click **Get Started**. EkLine creates your organization and names it after your email domain. You see this screen only when you sign up with a company email address. If another EkLine organization already claimed your domain, you see **Your company already uses EkLine!** instead, with the choice to join it. The report is offered when you create a new organization (**Create my own organization**), not when you join one that already exists. 3. On **What’s your company’s website?**, check the **Company website** field. EkLine fills it in from the **Website** in your Company Profile when one is saved, and otherwise from your email address when it can. Click **Continue**. 4. Wait on **Reading acme.com** while EkLine works through **Reading your website**, **Working out what you sell**, **Finding who you are compared with** and **Reading your brand**. This usually takes less than a minute. Keep the tab open. 5. On **Here’s what we found about Acme**, fix anything that is wrong in the rows, such as brand names, competitors, documentation sites and key features. EkLine uses these details when it asks AI assistants about you. Below them, check your visual style and voice in the **Your brand** card. To change a row, click **Edit**. Then click **Looks good, continue**. EkLine saves these details to your [Company Profile](/agent/company-profile/). 6. On **15 questions buyers ask AI about products like yours**, read both groups: **Questions that do not name you** and **Questions that name you**. Reword any question that does not sound like your buyers, keeping it one question. 7. Click **Run my free report**. EkLine takes you to your dashboard, where a card reads **Your free report is running**. The run takes 30 to 60 minutes, and you can close the tab. 8. When the report is ready, EkLine emails you “Your free report on Acme is ready”. Click **View your report** and sign in, or click **View report** on the dashboard card. ### If your organization already has a Company Profile [Section titled “If your organization already has a Company Profile”](#if-your-organization-already-has-a-company-profile) Open [ekline.io/onboarding-report/setup](https://ekline.io/onboarding-report/setup) and enter your website. Instead of reading the site, EkLine opens **Here’s what we have about Acme**, filled in from your saved Company Profile. EkLine saves only what you change. To replace it with a fresh read of your site, click **Read my website instead**. Then continue from step 5. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The dashboard card reads **Your free report is ready**, with **View report** and **Share**. * The report opens with a headline such as “Assistants recommend Acme in 6 of 15 buyer questions”, and lists every question under **Every buyer question**. * In the sidebar, **Journeys** opens on the **Collections** tab, which lists **Buyer questions**. The email link asks the reader to sign in. For someone without an account, use **Share** on the report. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | What you see | What to do | | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | “Enter your website, like acme.com.” | Enter a public web address, such as `acme.com`. | | “We could not reach acme.com. Check the address and try again.” | EkLine could not load the site. Check the address, then click **Continue** again. | | “We could not read acme.com.” | Reading your site failed. Click **Try again**. | | You left before the last step | On the dashboard, click **Continue** on **Finish setting up your free report**. If you skipped the website step, open [ekline.io/onboarding-report/setup](https://ekline.io/onboarding-report/setup). | | You clicked **Skip for now** on the questions | Click **Run my free report** on the dashboard card. | | The report says the run stopped after 60 minutes without a new answer | The report covers the answers collected by then. | ## Next [Section titled “Next”](#next) * [Read a Buyer questions report](/journeys/read-a-report/): what each section means and how each question is marked. * [Win a buyer question you are losing](/get-started/recipes/win-a-buyer-question/): from a lost question to a fix your team approves. # How EkLine works > The loop EkLine runs: measure what AI agents say and do with your product, fix what they read, approve, then run it again. EkLine runs a loop: measure what AI assistants and coding agents say and do with your product, fix what they read, have your team approve the changes, then measure again. ## Measure [Section titled “Measure”](#measure) **Journeys** measures what AI assistants and coding agents say and do with your product. * A **journey** is one job for an agent: a buyer’s question, or a developer’s task for a coding agent. It names who is asking (a persona) and the checks an answer must pass. * **Research** journeys ask questions of ChatGPT, Claude, Perplexity, Gemini, Claude Code or Codex. **Agent Task** journeys give a task to Claude Code or Codex. * Each agent does the journey as many times as you set, each run a separate conversation. * **Measured** checks are counted directly from the answer, such as whether your product is named in the first answer. **Judged** checks are graded by an AI model against a rubric, such as **you are recommended, not just mentioned**. * A **collection** runs several journeys and shares one report. The **Buyer questions** collection asks 15 buyer questions, 10 times each on ChatGPT, Claude, Perplexity and Gemini, and shows which you win, split or lose. See [Get your first AI report](/get-started/first-ai-report/). ## Fix [Section titled “Fix”](#fix) **Docs Agent** and **Marketing Agent** draft the changes. * **From a report.** Under **What went wrong**, each cause has a button: **Fix in docs** starts Docs Agent, and **Draft in Marketing** starts Marketing Agent. A collection report’s **Fix these first** has **Start the fix**. The agent gets the report’s evidence and checks that the gap is real before it changes anything. See [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/). * **Without a report.** Start Docs Agent from its editor, a pull request or merge request comment that mentions `@ekline-ai`, Slack, Discord, Jira triggers, Automations or an MCP client. Start Marketing Agent from its editor, an MCP client or an automation. Both agents work from your repositories, the context you set under **Settings**, and your connected tools. See [Which setting to use](/agent/which-setting-to-use/). ## Approve [Section titled “Approve”](#approve) Your team decides what ships. | Change | Where you review it | How it ships | | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | | Docs Agent, docs repository | Its editor, where a **Reviewing changes** banner offers **Accept All** and **Reject All** after each turn, and you can edit | **Raise PR** asks Docs Agent to open a pull request (a merge request on GitLab). Your team merges it in GitHub or GitLab | | Docs Agent, Confluence or Pylon | Its editor | **Update KB** publishes the edits you approved | | Marketing Agent | Its editor | **Copy** or **Download** as Markdown or HTML. It opens a pull request only when you ask | A pull request comment, a Slack request, a Jira trigger or an Automation can open the pull request without **Raise PR**. It still waits for your team to merge it, and Docs Reviewer can check it first like any docs change. See [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). ## Run it again [Section titled “Run it again”](#run-it-again) Once the change is published, run the journey or collection again in Journeys: **Run now** on a journey in the list, or **Run collection** on a collection. A collection report compares each later run with the first, question by question. A journey report shows how each check moved since the previous report for the same agent. Answers vary between runs even when nothing changed, so compare across many runs. See [How results are measured](/journeys/how-results-are-measured/). ## What EkLine reads and what it writes [Section titled “What EkLine reads and what it writes”](#what-ekline-reads-and-what-it-writes) | Place | What EkLine reads | What EkLine writes | | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Docs repositories under **Where EkLine writes** (GitHub or gitlab.com) | Files and history | Branches and pull requests (merge requests on GitLab) | | Code repositories under **What else EkLine can read** | Code and merged pull requests, to work out what changed and why | No files or pushes. Comments on pull requests: a reply when someone mentions `@ekline-ai`, and with [automatic PR review](/agent/automatic-pr-review/), at most one comment on whether docs need an update | | Slack and Discord | The thread where someone mentions EkLine | Replies in that thread | | Jira, Linear, Notion, Google Drive and other tools under **Settings** > **Integrations** | Tickets, pages and files, for context | Nothing on its own. A Jira trigger can comment on its ticket | | Confluence spaces and Pylon knowledge bases under **KB Management** | Pages and articles | Edited Confluence pages, and new or edited Pylon articles, after **Update KB** | | The public web | Public pages, when an agent researches a topic | Nothing. EkLine does not publish to your website or a CMS | EkLine only accesses the repositories and tools you connect, with the permissions you grant. For isolation, data handling and compliance, see [Security and data](/workspace/security-and-data/) and the [EkLine trust center](https://ekline.io/trust-center). ## FAQ [Section titled “FAQ”](#faq) ### Does EkLine change our code? [Section titled “Does EkLine change our code?”](#does-ekline-change-our-code) Not unless you select a code repository under **Where EkLine writes**. EkLine changes files only in the repositories listed there, through a pull request or merge request. In repositories under **What else EkLine can read**, EkLine never edits files or pushes, though it can comment on pull requests. ### What does a person need to do? [Section titled “What does a person need to do?”](#what-does-a-person-need-to-do) Once: connect GitHub or GitLab, select the repositories EkLine writes to and reads, and fill in your Company Profile ([Set up your workspace](/get-started/set-up-your-workspace/)). Then: run a journey or start a session, review the draft, merge what you want, and run the journey again. ### Does Journeys read our private docs? [Section titled “Does Journeys read our private docs?”](#does-journeys-read-our-private-docs) No. Journeys agents reach your docs through public web search, the way a buyer’s assistant does. The website and documentation sites in your Company Profile are used only to recognize your pages in the answers. ### Does anything run on a schedule? [Section titled “Does anything run on a schedule?”](#does-anything-run-on-a-schedule) [Automations](/agent/scheduled-agents/) run Docs Agent or Marketing Agent tasks on a schedule. Journeys run only when someone starts them. # Recipes > Each recipe does one job end to end with EkLine, from the first step to a change your team approves. Pick a job and follow it from the first step to a change your team approves. [Win a buyer question you are losing ](/get-started/recipes/win-a-buyer-question/)Find a question you lose, fix the page or write a post, then run it again. [Turn a release into docs, release notes and a launch post ](/get-started/recipes/release-to-launch/)Update the docs, write release notes, and draft a launch post from the same changes. [Document an undocumented repository ](/agent/tutorial-document-a-repository/)Get an overview, a quickstart and an API reference in one pull request. [Document a code change ](/agent/tutorial-document-a-code-change/)Update the docs for a change you shipped, then open a pull request. [Document a release ](/agent/tutorial-document-a-release/)Update the docs a release affects and add release notes in one pull request. [Answer recurring support questions ](/agent/tutorial-answer-support-questions/)Turn a question support keeps answering into a help center article. # Turn a release into docs, release notes and a launch post > Take one release from shipped changes to updated docs and release notes in a pull request, and a launch post drafted for your team to publish. The Docs Agent updates the docs the release affects and writes the release notes in one pull request. The Marketing Agent then drafts the launch post from the same changes. Your team reviews both before anything goes out. The example follows Acme, which sells a payments API and has shipped split payouts in its 2.4 release. ## What you need [Section titled “What you need”](#what-you-need) * The Docs Agent and the Marketing Agent. * The repository that holds your docs, and the repositories where product changes land, connected through [GitHub](/agent/github-app-setup/) or [GitLab](/agent/gitlab-setup/). * Jira or Linear connected, so the agents can read the shipped tickets. See [Integrations](/agent/integrations/). * **Tone and Voice** filled in on your Company Profile, so the post sounds like you. See [Company Profile and Domains](/agent/company-profile/). ## 1. Decide what shipped [Section titled “1. Decide what shipped”](#1-decide-what-shipped) Decide how to name the release, because both agents start from it: * for the Docs Agent: a Jira `fixVersion`, a Linear project or milestone, or a range of tickets such as `ENG-100` through `ENG-110` * for the Marketing Agent: a time window such as “releases since September 1”, or the pull request numbers, release tag or changelog file Acme uses the Jira version `2.4` for the docs and the release tag `v2.4.0` for the post. ## 2. Update the docs and write the release notes [Section titled “2. Update the docs and write the release notes”](#2-update-the-docs-and-write-the-release-notes) In a Docs Agent session, ask the agent to update the docs the release affects, add release notes, and check for pages the release left out of date. It drafts everything in one session, and you ship it as one pull request. * Follow [Tutorial: document a release end to end](/agent/tutorial-document-a-release/) for the whole session. * See [Generate release notes](/agent/release-notes/) for how to group and word the notes. Release notes and changelog pages are Docs Agent work. The Marketing Agent does not write them. ## 3. Merge and publish the docs [Section titled “3. Merge and publish the docs”](#3-merge-and-publish-the-docs) Your team reviews the docs pull request and merges it, then publishes the docs as usual. See [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). Do this before you draft the post. The Marketing Agent opens the post’s call-to-action link to check that it works, and marks the link as missing when it does not. ## 4. Draft the launch post [Section titled “4. Draft the launch post”](#4-draft-the-launch-post) Start a Marketing Agent session, click **Write a blog post** under the composer, and name the release from stage 1. In the same message, paste the links to the docs pages from stage 2, or the docs pull request, so the post rests on the updated docs. To get a LinkedIn post or a newsletter section from the same changes, ask for it in the same message, for example `Write a blog post and a LinkedIn post about release v2.4.0`. The agent recommends how big the announcement should be, from a single changelog line to a company launch. It leaves out changes that were reverted, security fixes, work still behind a flag, and internal or docs-only changes. A launch post says who can use the feature today. Nothing starts this session on its own when you merge or release: you start it. See [Turn shipped changes into launch content](/marketing-agent/launch-content/) for the steps and the full list of what is left out. ## 5. Review and publish the post [Section titled “5. Review and publish the post”](#5-review-and-publish-the-post) Read the Marketing Agent’s summary in the chat: what it read, with sources, and what it assumed. Edit the draft in the editor, then click **Copy**, or **Download** it as Markdown or HTML, and publish the post on your blog yourself, or [ask the agent to add it to a documentation repository](/marketing-agent/#where-drafts-go). ## 6. Optional: repeat every week [Section titled “6. Optional: repeat every week”](#6-optional-repeat-every-week) Two [Automations](/agent/scheduled-agents/) cover the weekly part of this job, weekly on Monday by default. **Release Notes Generator**, under **Releases and reports**, runs as the Docs Agent; **Release Marketing Brief**, under **Marketing**, runs as the Marketing Agent: | Automation | What it does | | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Release Notes Generator** | Generates structured release notes from tickets and GitHub activity since the last release-notes update. | | **Release Marketing Brief** | Drafts a Slack-ready brief of significant customer-facing features that shipped in the last 7 days, as raw material for marketing and customer success teams. | The brief lands in Slack as a starting point for a person; it is not a draft in the Marketing Agent editor. To get a draft on a schedule, create a custom automation that runs as the Marketing Agent with a prompt that says what to draft. See [Keep your team informed](/agent/keep-your-team-informed/) and [Automations](/agent/scheduled-agents/). ## Check the result [Section titled “Check the result”](#check-the-result) * The docs pull request is merged and the docs are published, with the updated pages and the release notes. * The launch post is published, and its chat summary lists the pull requests, tickets or changelog entries it rests on. * The post includes a line that says who can use the feature today. ## Next [Section titled “Next”](#next) * [Win a buyer question you are losing](/get-started/recipes/win-a-buyer-question/) * [How claims stay accurate](/marketing-agent/accurate-claims/) * [Automations](/agent/scheduled-agents/) # Win a buyer question you are losing > Take a question you lose in a Buyer questions report to a docs fix or a post your team approves, then run the collection again to compare. Take one question where AI assistants do not recommend you, and find out why and who they recommend instead. Hand the fix to the right agent, then run the collection again to see whether the answers moved. The example follows Acme, which sells a payments API. Its report shows that when buyers ask “Which payments API handles split payouts for marketplaces?”, the assistants recommend Hooli. ## What you need [Section titled “What you need”](#what-you-need) * A completed Buyer questions report. To get your first one, see [Get your first AI report](/get-started/first-ai-report/). * Your competitors in your Company Profile, so the report can show who was recommended instead. See [Company Profile and Domains](/agent/company-profile/). * For a docs fix: the Docs Agent, with the repository that holds your docs connected. See [Connect GitHub](/agent/github-app-setup/) or [Connect GitLab](/agent/gitlab-setup/). * For a post: the Marketing Agent. ## 1. Find a question you lose [Section titled “1. Find a question you lose”](#1-find-a-question-you-lose) Open the report and scroll to **Every buyer question**. Questions are grouped by outcome, with the questions you lose first. A question is marked **You lose** when 20% or fewer of its answers passed. Click Acme’s split payouts question to open it. **Checks, worst first** lists the question’s checks, and **An answer that did not pass** shows one of the answers, with **Read the full answer** for the whole text. For what every part of the report means, see [Read a Buyer questions report](/journeys/read-a-report/). ## 2. See who was named instead [Section titled “2. See who was named instead”](#2-see-who-was-named-instead) The question’s **Recommended instead** column, and **Recommended instead of you** in the report’s headline card, show the competitors named in the answers you did not win. Acme sees Hooli there. Under **Also named, not on your list**, the report lists other products the answers put forward. Click **Add to competitors** to add one to the competitors in your Company Profile. ## 3. Hand the fix to an agent [Section titled “3. Hand the fix to an agent”](#3-hand-the-fix-to-an-agent) In the open question, **What went wrong** lists the causes the report found, each with a button. You can also start from **Fix these first** near the top of the report, where each card shows how many buyer questions it affects and has **Start the fix**. The report decides which agent gets each fix: * **Fix in docs** starts a Docs Agent session, for anything in your docs or any fix that needs a code change. The agent first checks that the problem is real and not already covered, and improves an existing page rather than adding a duplicate. * **Draft in Marketing** starts a Marketing Agent session for everything else, such as a blog post, a comparison, or an outreach list when the fix is getting named on sites you don’t own. For each path in detail, see [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/) and [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/). ## 4. Review and ship [Section titled “4. Review and ship”](#4-review-and-ship) Open the session from **View in Docs Agent** or **View in Marketing Agent** and read what the agent drafted. * **Docs Agent:** review the change in the editor, then click **Raise PR**. Your team reviews and merges the pull request as usual. See [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). * **Marketing Agent:** edit the draft, then click **Copy**, or **Download** it as Markdown or HTML, and publish it on your site yourself, or [ask the agent to add it to a documentation repository](/marketing-agent/#where-drafts-go). The assistants reach your pages only through the public web, by searching and fetching them, so a fix can change their answers only once it is live on your public site. ## 5. Run the collection again [Section titled “5. Run the collection again”](#5-run-the-collection-again) Open the **Buyer questions** collection from the **Collections** tab in **Journeys** and click **Run collection**. Nothing runs it on a schedule. The first run of a collection is its baseline, and each later report is compared with it. The headline says how many more or fewer questions you win than on the baseline date. A question whose outcome changed shows what it was, such as **Was a loss**. See [Track results over time](/journeys/track-results/). ## Check the result [Section titled “Check the result”](#check-the-result) * The fix’s button on the report reads **View in Docs Agent** or **View in Marketing Agent**. * Your team merged the pull request, or you published the post. * In the new report, the **Passed** column for Acme’s split payouts question shows the change since the baseline. If the question moved out of **You lose**, it shows **Was a loss**. Answers vary from run to run even when nothing on your side changed: the assistants search the live web, and neither their answers nor the grading are fixed. Judge the change by the question’s passed count across runs, not by a single answer. ## Next [Section titled “Next”](#next) * [Read a Buyer questions report](/journeys/read-a-report/) * [Track results over time](/journeys/track-results/) * [Turn a release into docs, release notes and a launch post](/get-started/recipes/release-to-launch/) # Set up your workspace > The checklist for a new organization's admin: connect your code host, invite your team, give the agents context, and run your first journey. Set up EkLine for a new organization by working through these steps in order. When you finish, the agents can open pull requests in your docs, use your company’s context, and measure what AI assistants say about your product. The app does not walk you through these steps, so keep this page open while you work. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * You signed up and verified your email. The person who creates the organization is its Owner. * You are the organization’s Owner or an Admin. Inviting members and claiming email domains need one of these roles. * To connect GitHub, you are an owner of the GitHub organization, or one of its owners can approve the request. * To connect GitLab instead, you can create a gitlab.com access token with the `api` and `read_repository` scopes. ## Steps [Section titled “Steps”](#steps) 1. **Connect GitHub or GitLab.** Go to **Settings** > **Integrations** > **GitHub Integration** and install the EkLine GitHub App, or go to **GitLab Integration** and add an access token. Then select your docs repositories under **Where EkLine writes**, and the repositories where product changes land under **What else EkLine can read**. See [Connect GitHub](/agent/github-app-setup/), [Connect GitLab](/agent/gitlab-setup/), and [Docs platforms you keep](/workspace/docs-platforms/). 2. **Invite members and set roles.** Go to **Settings** > **Organization** > **Members** and click **Invite Members**. Add one email per row, select a role for each, and click **Send Invites**. Invites expire after 7 days. If you did not claim your company’s email domain when you signed up, claim it under **Settings** > **Organization** > **Domains**. Teammates who sign up with that domain are then offered to join your organization as Members. See [Members and roles](/workspace/members-and-roles/). 3. **Fill in your Company Profile.** Go to **Settings** > **Organization** > **Company Profile**. Describe your product, audiences, competitors, and brand names, and add your **Tone and Voice**. Each field saves as you go. See [Company Profile and Domains](/agent/company-profile/) for what each field does and which agent reads it. 4. **Add custom instructions.** Go to **Settings** > **Docs Agent** > **Custom instructions**. Write the standing instructions the Docs Agent should follow, such as your spelling, heading style, or where your style guide lives, and click **Save custom instructions**. For the Marketing Agent, add its own instructions under **Settings** > **Marketing Agent** > **Custom instructions**. Instructions apply to sessions started after you save. See [Custom instructions](/agent/custom-instructions/). 5. **Connect Slack and your other sources.** Go to **Settings** > **Integrations** and click **Connect** on the **Slack** card, so your team can mention EkLine in a thread to ask for a docs change. Then connect the tools that hold your product context, such as Jira, Linear, Notion, Confluence, Google Drive, or PostHog. See the [Integrations overview](/agent/integrations/) and [Slack](/agent/slack-bot/). 6. **Set up review rules or an Automation.** To have EkLine check new pull requests in your code repositories for docs impact, set up [automatic PR review](/agent/automatic-pr-review/) and scope it with [review rules](/agent/review-rules/). To run recurring work on a schedule, open **Automations** in the sidebar and start from a template such as **Release Notes Generator** or **Docs Drift Review**. See [Automations](/agent/scheduled-agents/). 7. **Run your first journey.** Open **Journeys** in the sidebar and click **New journey**. Enter a question a buyer or developer would ask under **What do you want to find out?**, click **Create scenario with AI** to draft the rest, then click **Try it once**. See the [Journeys overview](/journeys/). If you ran the report offered at sign-up, its results are already in the **Buyer questions** collection on the **Collections** tab. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * **Settings** > **Integrations** > **GitHub Integration** no longer shows **GitHub is not connected yet** or **Setup is not finished: no documentation repositories chosen**. For GitLab, **GitLab Integration** no longer shows **GitLab is not connected yet** or **Setup is not finished: no documentation projects chosen**. * Each card you connected under **Settings** > **Integrations** shows **Connected**. * **Settings** > **Organization** > **Members** lists your invites under **Pending Invites** until they are accepted. * Saving custom instructions shows “Saved. It applies to sessions started from now on.” * Your journey appears under **Journeys** with a report. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) * **You installed the GitHub App, but EkLine still shows it as not connected.** See [The GitHub App installs but does not connect](/workspace/troubleshooting/#the-github-app-installs-but-does-not-connect). * **Connect GitHub is grayed out.** A GitHub organization owner has to approve the app first. See [A GitHub organization owner must approve the app](/workspace/troubleshooting/#a-github-organization-owner-must-approve-the-app). * **An invite expired.** Under **Pending Invites**, click **Delete Invite** on it and confirm, then invite the same email again. See [Members and roles](/workspace/members-and-roles/). ## Next [Section titled “Next”](#next) * [Ship your first docs pull request](/agent/getting-started/) * [Get your first AI report](/get-started/first-ai-report/) * [Check your docs in CI](/reviewer/quickstart/) # What is EkLine? > What EkLine is, who uses it, what each of its four parts does today, and what it does not do. EkLine is a set of AI agents for developer tool and API companies. They check what ChatGPT and Claude say about your product and whether coding agents like Cursor can build with it, then fix the docs, help center, and marketing pages those agents read, using your code, pull requests, and support tickets. Every change arrives as a pull request or draft your team approves. ## Who uses it [Section titled “Who uses it”](#who-uses-it) The people who use EkLine day to day: * **Docs teams and technical writers** keep docs in step with the code, and check every docs change before it merges. * **Developer relations teams** see whether coding agents can finish real tasks with the product, and fix the docs those agents follow. * **Product marketers** see which buyer questions AI assistants answer with the product, and draft posts that answer the rest. * **Support leads** turn questions customers keep asking into help center articles. ## The four parts [Section titled “The four parts”](#the-four-parts) ### Journeys [Section titled “Journeys”](#journeys) Journeys asks AI assistants (ChatGPT, Claude, Perplexity and Gemini) the questions your buyers ask, and gives coding agents (Claude Code and Codex) tasks with your product, many times each. It checks every answer and shows what passed, what failed and why, with a button that hands each gap to Docs Agent or Marketing Agent. See [Journeys](/journeys/). ### Docs Agent [Section titled “Docs Agent”](#docs-agent) Docs Agent writes and updates documentation from your code, pull requests, tickets and existing docs. You start it from its editor, a pull request or merge request comment, Slack, Discord, Jira, Automations or an MCP client, and it delivers changes as pull requests to your docs repositories. See [Agents overview](/agent/). ### Marketing Agent [Section titled “Marketing Agent”](#marketing-agent) Marketing Agent drafts blog posts, LinkedIn posts and newsletters in your company’s voice, from your Company Profile, docs, code, merged pull requests and tickets. Drafts stay in its editor for you to copy or download, and it opens a pull request only when you ask for one. See [Marketing Agent](/marketing-agent/). ### Docs Reviewer [Section titled “Docs Reviewer”](#docs-reviewer) Docs Reviewer checks each documentation change against your style guide and comments on what to fix before it merges. It runs in CI, VS Code, Google Docs or the CLI, and checks docs a coding agent wrote the same way as docs a person wrote. See [How Docs Reviewer works](/reviewer/overview/). ## Website terms and where to find them [Section titled “Website terms and where to find them”](#website-terms-and-where-to-find-them) The ekline.io website describes EkLine by the job it does. In the app and in these docs, the same work lives under these names: | On ekline.io | In the app and these docs | | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AI SEO and GEO | Journeys measures what assistants say about you. Docs Agent and Marketing Agent fix what they read. See [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/). | | Support knowledge base | Docs Agent’s help center tasks: [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/) and [Answer recurring support questions](/agent/tutorial-answer-support-questions/). | | Free AI report | The Buyer questions report. See [Get your first AI report](/get-started/first-ai-report/). | ## What EkLine is not [Section titled “What EkLine is not”](#what-ekline-is-not) * **Not a docs host.** Your docs stay where they are. EkLine edits docs kept in a Git repository on GitHub or gitlab.com, and opens a pull request or merge request there for your docs platform to build from. See [Docs platforms you keep](/workspace/docs-platforms/). * **Not a website publisher.** EkLine does not publish to your website or a CMS. It opens pull requests and drafts, and nothing merges or publishes without your approval. ## FAQ [Section titled “FAQ”](#faq) ### What is EkLine? [Section titled “What is EkLine?”](#what-is-ekline) EkLine is a set of AI agents for developer tool and API companies. They check what ChatGPT and Claude say about your product and whether coding agents like Cursor can build with it, then fix the docs, help center, and marketing pages those agents read, using your code, pull requests, and support tickets. Every change arrives as a pull request or draft your team approves. ### Does EkLine replace our docs platform? [Section titled “Does EkLine replace our docs platform?”](#does-ekline-replace-our-docs-platform) No. EkLine does not host docs. It edits the files in the Git repository your docs platform builds from, on GitHub or gitlab.com, and opens a pull request or merge request for your team to review. See [Docs platforms you keep](/workspace/docs-platforms/). ### Is EkLine an AI SEO tool? [Section titled “Is EkLine an AI SEO tool?”](#is-ekline-an-ai-seo-tool) It works on the same problem from the other end. AI visibility tools report how often assistants mention you. EkLine measures that with Journeys, then Docs Agent and Marketing Agent draft the docs and posts that change the answer, for your team to approve. It also checks whether coding agents can build with your product. You can keep using an SEO tool alongside it. ### Which AI assistants and coding agents does EkLine check? [Section titled “Which AI assistants and coding agents does EkLine check?”](#which-ai-assistants-and-coding-agents-does-ekline-check) Journeys asks ChatGPT, Claude, Perplexity and Gemini, and gives tasks to the coding agents Claude Code and Codex. See [Journeys](/journeys/). ### Where do I start? [Section titled “Where do I start?”](#where-do-i-start) Start with the quickstart for the job you want done: * [Get your first AI report](/get-started/first-ai-report/): see how AI assistants answer 15 questions buyers ask about products like yours. * [Ship your first docs pull request](/agent/getting-started/): ask Docs Agent for a change and review the pull request it opens. * [Check your docs in CI](/reviewer/quickstart/): run Docs Reviewer on every docs change. If you are setting EkLine up for a team, work through [Set up your workspace](/get-started/set-up-your-workspace/). # Journeys > Ask AI assistants and coding agents the questions your buyers ask, grade every answer with checks, and see which questions you win or lose. Journeys measures what AI assistants and coding agents say and do with your product: you give an agent a question or a task, EkLine runs it as many times as you choose, grades every answer with checks, and shows you the result. Any member of your organization can create, edit and run journeys and collections, and share their reports. ## The parts of a journey [Section titled “The parts of a journey”](#the-parts-of-a-journey) | Term | What it is | | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Journey** | A question or task to test. It holds one to 20 turns (messages sent in order, in one conversation), a persona the agent plays, the checks that grade each answer, and the agents to run it on. | | **Run** | One agent working through every turn once, as one conversation. Each run produces one answer to grade. | | **Report** | What you get each time you start a journey: every run from every agent you selected. | | **Check** | A test each answer must pass, such as **you are recommended, not just mentioned**. Code measures some checks; an AI model judges others against a written rubric. | | **Collection** | A set of journeys that run together and share one report. The free report creates a collection called **Buyer questions**. | On a collection’s report, each journey is called a **buyer question**. ## Two kinds of journey [Section titled “Two kinds of journey”](#two-kinds-of-journey) | Kind | What it tests | Agents that can run it | | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | | **Research** | What an agent answers when someone asks about your category, your product, or a problem your product solves. New journeys start as Research. | ChatGPT, Claude, Perplexity, Gemini, Claude Code, Codex | | **Agent Task** | Whether a coding agent can do a job with your product, such as following your quickstart. Each run starts in an empty working folder. | Claude Code, Codex | You choose one to six agents for a journey, and a model for each. See [Choose agents and models](/journeys/agents-and-models/). Agents reach your product the way your buyers’ assistants do: through public web search and the pages they open. They do not read anything you have not published. ## What you get [Section titled “What you get”](#what-you-get) * **A report for every run of a journey.** A scorecard of checks against runs, what went wrong and why, who was named, which sites the agents cited, and totals. See [Read a Buyer questions report](/journeys/read-a-report/). * **A report for every run of a collection.** Each buyer question is marked **You win**, **Split** or **You lose**, with who was recommended instead of you, where assistants get their answers, and up to three fixes to start first. See [How results are measured](/journeys/how-results-are-measured/). ## Where Journeys fits [Section titled “Where Journeys fits”](#where-journeys-fits) Journeys is the measure step in EkLine’s loop: 1. **Measure.** Run a journey or a collection. 2. **Fix.** From a report’s **What went wrong**, click the button the cause offers: **Fix in docs** starts a Docs Agent session, and **Draft in Marketing** starts a Marketing Agent session. From a collection report, click **Start the fix**. See [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/). 3. **Approve.** Your team reviews the pull request or draft, as with any other agent session. 4. **Run again.** Run the collection again. Its report compares each buyer question with the collection’s first run. See [Track results over time](/journeys/track-results/). A journey runs when someone in your organization starts it. ## Journeys pages [Section titled “Journeys pages”](#journeys-pages) * [How results are measured](/journeys/how-results-are-measured/): what happens in a run, when an answer passes, and how **You win**, **Split** and **You lose** are decided. * [Read a Buyer questions report](/journeys/read-a-report/): every part of the report, in order. * [Write checks that mean something](/journeys/write-checks/): choose and write checks so a result means what you think. * [Create a research journey](/journeys/create-a-research-journey/): write a question and run it. * [Agent Task journeys](/journeys/agent-task-journeys/): test whether a coding agent can build with your product. * [Choose agents and models](/journeys/agents-and-models/): which agents to run and why. * [Collections and sharing](/journeys/collections/): group journeys, run them together, and share the report. * [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/): hand a failed answer to the Docs Agent or Marketing Agent. * [Track results over time](/journeys/track-results/): compare a run with earlier ones. * [Journey agents and checks](/reference/journey-agents-and-checks/): reference tables for agents, models, checks and limits. To get your first report without building journeys yourself, see [Get your first AI report](/get-started/first-ai-report/). ## FAQ [Section titled “FAQ”](#faq) ### Which AI assistants and coding agents does Journeys test? [Section titled “Which AI assistants and coding agents does Journeys test?”](#which-ai-assistants-and-coding-agents-does-journeys-test) ChatGPT, Claude, Perplexity and Gemini for Research journeys, and the coding agents Claude Code and Codex for both kinds. No other agents are available. ### Does a journey read our private or signed-in docs? [Section titled “Does a journey read our private or signed-in docs?”](#does-a-journey-read-our-private-or-signed-in-docs) No. Agents find your pages through public web search, as your buyers’ assistants do. The website and documentation sites in [Company Profile](/agent/company-profile/) are used only to recognize your pages among the sources an answer cites. ### What is the difference between a journey and a collection? [Section titled “What is the difference between a journey and a collection?”](#what-is-the-difference-between-a-journey-and-a-collection) A journey is one question or task. A collection runs many journeys together and gives one report that marks each question as **You win**, **Split** or **You lose**. A single journey’s report shows its checks run by run, with no win or loss. ### Who in my organization can use Journeys? [Section titled “Who in my organization can use Journeys?”](#who-in-my-organization-can-use-journeys) Any member. There is no separate role for creating, running or sharing. # Agent Task journeys > Test whether Claude Code or Codex can build with your product by following your public docs, and see how each run is graded. An Agent Task journey gives a coding agent, Claude Code or Codex, a job to do with your product, such as following your quickstart, and checks whether it got there. Use it to find out whether coding agents can build with your product from your public docs. ## How an Agent Task journey works [Section titled “How an Agent Task journey works”](#how-an-agent-task-journey-works) | Part | What happens | | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Agents** | **Claude Code** (selected by default) and **Codex**. Chat assistants such as ChatGPT cannot take an Agent Task journey. | | **Where the agent works** | Each run starts in a new, empty working folder. The agent runs commands and writes files there without stopping to ask for permission. | | **What it can reach** | The public web, through its own search and fetch tools. It does not get your repositories, your private docs, or any account or API key for your product. | | **The conversation** | The agent works through your turns in order, in one session. Each run is a separate session. | ## Before you begin [Section titled “Before you begin”](#before-you-begin) * **Journeys** in the app sidebar. See the [Journeys overview](/journeys/). * Any member of your organization can create and run journeys. ## Steps [Section titled “Steps”](#steps) 1. Open **Journeys** and click **New journey**. 2. In **What do you want to find out?**, describe the job, for example “Can someone set up a Node.js project with the Acme SDK by following our quickstart?” 3. Under **Kind**, click **Agent Task**. Under **How we’ll run it**, the agents offered change to **Claude Code** and **Codex**, with **Claude Code** selected. 4. Under **The scenario**, write the task in the first turn field, the way a developer would ask their coding agent. Choose a job that needs no account or API key, because the agent has none. Click **add a turn** for follow-up instructions. 5. Under **Who’s attempting it**, select a persona or **Write your own**. 6. Under **What we’ll check**, click **N more we can check** and add the checks listed under **Suggested for agent task journeys**, such as **it completed** and **the documented order worked**. To grade a specific outcome, click **add a custom check** and write a rubric. See [Write checks that mean something](/journeys/write-checks/). 7. Under **How we’ll run it**, click **Claude Code**, **Codex** or both, select each one’s model, and set **Number of runs**. There is no web search control for this kind; by default the agents can search the web. 8. Click **Try it once** to test your setup with one run per agent, then **Run N times** for the full report. ## How Agent Task runs are graded [Section titled “How Agent Task runs are graded”](#how-agent-task-runs-are-graded) These checks are suggested for Agent Task journeys; you can add any other check too. | Check | How it is graded | | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **it completed** | Judged. Passes only if the command that produces the result ran and its output, or the file it left, confirms it. Fails if the agent only described what it would do or stopped partway. | | **the documented order worked** | Judged. Fails if following your page’s steps in their documented order caused an error that another order would have avoided. | | **it hit no contradictions** | Judged. Fails if two pages the agent fetched disagree on something it relied on. | | **it never gave up or asked for a human** | Measured from the final answer. | | **it finished within the turn ceiling** | Measured against your **Turn ceiling**. | | **it stayed under the cost ceiling** | Measured against your **Cost ceiling**. | For judged checks, a grading model reads the commands the agent ran, the pages it fetched and its final answer. It treats the agent’s own summary as a claim to check, not as evidence, and does not count a failure of the machine the agent ran on, such as a missing system package, against your docs. It quotes what made a check fail. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The journey’s **Reports** tab shows a new report, marked **Running** until every run has finished. * Click a square in the report’s scorecard to open a run. The run page shows the agent’s activity step by step, its answer, and each check’s result with the reason. A run that errored shows its error message instead. ## Limits [Section titled “Limits”](#limits) * **Public pages only.** No repositories, private docs, accounts or API keys, so a task that needs a sign-in or a key cannot finish. * **Codex does not report the sources it read.** Its runs record no cited pages, so the report shows its sources as not reported and a **cites a page** check always fails. * **Turn counts.** Only Claude Code reports its own turns. For Codex, **it finished within the turn ceiling** counts the turns in your scenario. * **Coding agents run one at a time**, so a report with many runs takes longer than one on chat assistants. ## Next [Section titled “Next”](#next) * [Write checks that mean something](/journeys/write-checks/) * [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/): send what went wrong to the Docs Agent. * [Track results over time](/journeys/track-results/) # Choose agents and models > Which AI assistants and coding agents a journey can use, the model each runs by default, and how changing either affects comparisons. Choose which agents answer a journey and which model each one runs. Both affect which reports you can compare over time. ## Which agents a journey can use [Section titled “Which agents a journey can use”](#which-agents-a-journey-can-use) | Agent | Type | Research | Agent Task | Reports the sources it read | | --------------- | ------------ | -------- | ---------- | --------------------------- | | **ChatGPT** | AI assistant | Yes | No | Yes | | **Claude** | AI assistant | Yes | No | Yes | | **Perplexity** | AI assistant | Yes | No | Yes | | **Gemini** | AI assistant | Yes | No | Yes | | **Claude Code** | Coding agent | Yes | Yes | Yes | | **Codex** | Coding agent | Yes | Yes | No | * A Research journey can use any of the six, so you can also ask a product question the way a developer would ask it inside a coding agent. * An Agent Task journey uses coding agents only. See [Agent Task journeys](/journeys/agent-task-journeys/). * A new journey starts with **ChatGPT**. Switching it to **Agent Task** selects **Claude Code**. At least one agent stays selected. ## Models and defaults [Section titled “Models and defaults”](#models-and-defaults) You select one model per agent. The menu shows each vendor’s own model ID, and the first item is the default. | Agent | Default | Other choices | | ----------- | ------------------- | --------------------------------------------------------------------- | | ChatGPT | `gpt-6.1-sol` | `gpt-6.1-terra`, `gpt-6-astra`, `gpt-6-luna`, `gpt-5.6-sol`, `gpt-4o` | | Claude | `claude-sonnet-5-5` | `claude-opus-5-5`, `claude-haiku-5-5`, `claude-sonnet-5` | | Gemini | `gemini-3.8-flash` | `gemini-3.1-pro-preview`, `gemini-3.5-flash-lite` | | Perplexity | `sonar` | `sonar-pro`, `sonar-reasoning-pro`, `sonar-deep-research` | | Claude Code | `claude-sonnet-5-5` | `claude-opus-5-5`, `claude-haiku-5-5` | | Codex | `gpt-6.1-sol` | `gpt-5.3-codex` | The list changes as vendors release models; the menu in the app is always current. A journey keeps the model it was saved with, even after EkLine changes a default or drops that model from the menu. Each report records, under **Run configuration and environment**, the model each vendor said it served. A vendor can serve a newer build under the same name, which is why the app marks this “recorded, not pinned”. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * A journey to edit, or a new one. See [Create a research journey](/journeys/create-a-research-journey/). * Any member of your organization can change a journey. ## Steps [Section titled “Steps”](#steps) 1. Open the journey’s **Edit** tab, or click **New journey**. 2. Under **How we’ll run it**, click an agent’s name to add or remove it. 3. To change a selected agent’s model, click the model name on its chip and select one from the **Model for** menu. 4. Click **Save draft**, or run the journey. ## Settings that differ by agent [Section titled “Settings that differ by agent”](#settings-that-differ-by-agent) | Agent | Turns web search off when you clear **Let the agent search the web** | Applies the **At most** search limit | | ----------------------------------- | -------------------------------------------------------------------- | ------------------------------------ | | ChatGPT, Gemini, Claude Code, Codex | Yes | No | | Claude | Yes | Yes, as one budget for the whole run | | Perplexity | No, it always searches | No | Agent Task journeys do not show the web search control. Each run records the search settings that were actually applied. ## What you cannot choose [Section titled “What you cannot choose”](#what-you-cannot-choose) EkLine picks the model that grades judged checks, and the models behind **Create scenario with AI** and the written summaries in reports. You cannot change them. See [How results are measured](/journeys/how-results-are-measured/). ## How a change affects comparisons [Section titled “How a change affects comparisons”](#how-a-change-affects-comparisons) * **Each agent has its own trend.** Results are never averaged across agents. * **Changing an agent’s model starts a new series** for that agent, with a new baseline. Its earlier reports stay on the **Reports** tab under their own heading, which says “deltas are comparable within this series only”. * **Adding or removing an agent** starts or ends that agent’s series and leaves the other agents’ series as they were. * **Changing Number of runs or web search does not start a new series.** Reports in one series can therefore differ in those settings. See [Track results over time](/journeys/track-results/). ## Check it worked [Section titled “Check it worked”](#check-it-worked) * Under **How we’ll run it**, each selected agent’s chip shows the model it runs. * After the next run, the report’s **Run configuration and environment** lists each agent with its model. ## Next [Section titled “Next”](#next) * [Journey agents and checks](/reference/journey-agents-and-checks/): the reference tables. * [Track results over time](/journeys/track-results/) # Collections and sharing > Run several journeys together as one report, read which buyer questions you win, split or lose, and share the report with a link or a PDF. A collection is a set of journeys that run together and share one report. You can share that report with people outside EkLine through a link or a PDF. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * **Journeys** in the app sidebar. See the [Journeys overview](/journeys/). * Any member of your organization can create, run and share collections. * At least one published journey. A journey is published once it has run with at least one finished answer. See [Create a research journey](/journeys/create-a-research-journey/). ## Steps [Section titled “Steps”](#steps) ### Create a collection [Section titled “Create a collection”](#create-a-collection) 1. Open **Journeys** and click the **Collections** tab. 2. Click **New collection**. 3. Enter a **Name** (up to 100 characters) and, optionally, a **Description**. 4. Under **Journeys**, select between 1 and 50 published journeys. Use **Search journeys** to find them. A journey can be in more than one collection. 5. Click **Create collection**. ### Run it [Section titled “Run it”](#run-it) 1. Open the collection and click **Run collection**. Each journey runs with its own agents, models and number of runs. The sentence next to the button says how many answers one run collects. 2. Wait for the answers. The report page says “This run is still collecting answers” until every answer is in, or until an hour passes with no new answer; then the report uses the answers collected so far and says how many are missing. A collection runs one run at a time. If some journeys could not start, the page says how many; click **Run collection** again to retry only those. ### Share the report [Section titled “Share the report”](#share-the-report) 1. On the collection page, under **Reports**, click **Latest report**, or **Open** on an earlier one. 2. Click **Share**. The button appears once the report is complete. 3. Click **Create link**, then click the copy icon next to the link. ## Read the outcomes [Section titled “Read the outcomes”](#read-the-outcomes) The report groups buyer questions by outcome, counting answers across every assistant. | Outcome | Share of graded answers that passed | | ------------- | ----------------------------------- | | **You win** | 80% or more | | **Split** | More than 20% and less than 80% | | **You lose** | 20% or fewer | | **No result** | No answer could be graded | What counts as passed depends on the question’s checks; see [How results are measured](/journeys/how-results-are-measured/). The first run is the collection’s baseline, and later reports compare each question with it; see [Track results over time](/journeys/track-results/). ## The Buyer questions collection [Section titled “The Buyer questions collection”](#the-buyer-questions-collection) If your organization has set up its free report, it has a collection named **Buyer questions**, whose report is the Buyer questions report. It works like any other collection, except: * Its journeys are fixed: you cannot add or remove them. You can still change a question’s wording with the pencil next to it. * It cannot be deleted. * Before its first run, its button reads **Run my free report**. ## What a shared link shows [Section titled “What a shared link shows”](#what-a-shared-link-shows) * Anyone with the link can see the report without signing in. The link has the form `/r/` followed by a random token. * The link does not expire. **Stop sharing** turns off every link to that report; sharing again creates a new link. * The page asks search engines not to index it. * It shows less than the app: the top competitors only, two sites per kind of source, one cause and one failed answer per question, and no comparison with the first run. Hidden rows appear blurred. Its fix buttons start no session; like **Get the full report, free**, they ask the reader for a work email. * A reader can ask for the full report with a work email at your company’s domain. If your organization has claimed that domain, EkLine invites them to your organization as a Member. See [Company Profile and Domains](/agent/company-profile/). ## Download a PDF [Section titled “Download a PDF”](#download-a-pdf) Click **Download PDF** on a report to save it through your browser’s print dialog. The button is not shown on small screens. Caution The PDF includes a QR code that opens the live report, so **Download PDF** creates a share link if the report does not have one. To turn that link off later, click **Share**, then **Stop sharing**. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The collection appears on the **Collections** tab, and each of its journeys shows the collection’s name as a badge on the **Journeys** tab. * After a run, the collection page lists the report under **Reports**, with **Baseline** on the first one. * Your copied link opens the report in a private browser window without signing in. ## Next [Section titled “Next”](#next) * [Read a Buyer questions report](/journeys/read-a-report/) * [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/) * [Track results over time](/journeys/track-results/) # Create a research journey > Write the question buyers ask AI assistants, choose who asks it, how answers are checked and which assistants answer, then run it. A Research journey is a question, or a short conversation, that EkLine puts to AI assistants such as ChatGPT and Claude, checking every answer. Create one to learn what assistants say about your product. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * **Journeys** in the app sidebar. See the [Journeys overview](/journeys/). * Any member of your organization can create and run journeys. * Recommended: your website, brand names, competitors and documentation sites in your Company Profile (**Settings** > **Organization** > **Company Profile**). Brand checks need your brand names, and the report uses your website and documentation sites to mark which cited pages are yours. See [Company Profile and Domains](/agent/company-profile/). ## Steps [Section titled “Steps”](#steps) 1. Open **Journeys** and click **New journey**. 2. In **What do you want to find out?**, write what you want to learn in your own words. 3. Optional: click **Create scenario with AI** to fill in the rest of the form from your sentence, including three or four checks, an agent and 5 runs. It asks before replacing anything you wrote. Read every field it fills in. 4. Under **Kind**, keep **Research**. To give a coding agent a task instead, see [Agent Task journeys](/journeys/agent-task-journeys/). 5. Under **The scenario**, write the question in the first turn field, the way a buyer would ask an assistant. Click **add a turn** for a follow-up, up to 20 turns. Each run asks every turn in order, as one conversation. The reply to the last turn is recorded as the run’s answer, and checks such as **mentions a term** read only that reply. 6. Under **Who’s attempting it**, select a persona saved in your Company Profile, or select **Write your own** and describe who is asking. The agent acts as that person throughout. 7. **What it can reach** shows your documentation sites and **open web · always on**. There is nothing to set. Agents find your docs through the public web, as any assistant does, so they read only public pages. 8. Under **What we’ll check**, choose how each answer is graded. A new journey starts with **it hit no contradictions** and **it never gave up or asked for a human**. Click **N more we can check** for the library, or **add a custom check** to write your own. See [Write checks that mean something](/journeys/write-checks/). 9. Under **How we’ll run it**, click the assistants that should answer. To change an assistant’s model, click the model name on its chip and select one from the **Model for** menu. See [Choose agents and models](/journeys/agents-and-models/). 10. Set **Number of runs** to 1, 3, 5 or 10 times. Each run is a separate conversation, so 5 runs on two assistants gives 10 answers. 11. Keep **Let the agent search the web** on unless you want answers without searching. **At most** caps searches “where the agent supports a limit”. 12. Click **Run 5 times** (**Run 5 times per agent** with more than one assistant). To test your setup first, click **Try it once**, which runs once per assistant. Both save the journey first. **Save draft** saves without running. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The journey’s **Reports** tab opens with “Run queued. This page will update as soon as it starts.” * A report row appears, marked **Running** until every assistant has finished. Click **Open** to read it. See [Read a Buyer questions report](/journeys/read-a-report/). * On the **Journeys** list, the journey moves from **Drafts** to **Published** after its first run with a finished answer. There is no publish button. Only published journeys can join a [collection](/journeys/collections/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | What you see | What to do | | --------------------------------------------------- | ---------------------------------------------------------------------- | | “Fill in the missing fields above, then run again.” | Fill in **What do you want to find out?** and at least one turn. | | “We couldn’t draft the scenario.” | Try again, or fill in the form yourself. What you wrote is kept. | | A brand check is grayed out | Add your brand names to your Company Profile, then reopen the journey. | ## Next [Section titled “Next”](#next) * [Write checks that mean something](/journeys/write-checks/) * [Collections and sharing](/journeys/collections/): run several journeys together and share one report. * [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/) # How results are measured > What happens in a journey run, when an answer passes, and exactly how a collection marks each buyer question You win, Split or You lose. Journeys grades every answer an agent gives with checks, then counts the answers that passed. A collection uses that count to mark each buyer question **You win**, **Split** or **You lose**. ## What happens in a run [Section titled “What happens in a run”](#what-happens-in-a-run) 1. Someone clicks **Run N times**, **Run now** or **Try it once** on a journey, or **Run collection** on a collection, and the run is queued. 2. EkLine creates one report and works through the agents you picked, one after another. If one agent fails, its runs show as errored and the others carry on. 3. In each run, the agent plays the journey’s persona and receives the turns in order, in one conversation. 4. Every check grades each finished run’s answer. 5. EkLine writes **What went wrong** from the checks that failed, and the report is complete. A collection runs each of its journeys with that journey’s own agents, models and number of runs. Its report appears when every question’s answers are in, or after 60 minutes pass without a new answer. In that case it counts only the answers collected. ## How many times each question is asked [Section titled “How many times each question is asked”](#how-many-times-each-question-is-asked) Each agent runs a journey as many times as its **Number of runs** (1, 3, 5 or 10), and every run is a separate conversation. A journey with 3 agents and 5 runs gives 15 answers. **Try it once** runs once per agent. The free report asks each of its 15 questions 10 times on each of ChatGPT, Claude, Perplexity and Gemini: 40 answers per question, 600 in all. An agent can answer the same question differently each time, so a result is the share of answers that passed, not one answer. Web search is on by default, with at most 5 searches. Only Claude applies the limit, Perplexity always searches, and Codex reports no sources. See [Journey agents and checks](/reference/journey-agents-and-checks/). ## How an answer is graded [Section titled “How an answer is graded”](#how-an-answer-is-graded) An answer is the agent’s reply to the last turn. Most checks read that reply; **you appear at turn 1** reads the reply to the first turn. * **Measured** checks are code. The same answer always gets the same result. * **Judged** checks are graded by an AI model (`claude-sonnet-5`) against the check’s rubric. The judge reads the conversation, the sources the agent reported, the persona, and your brand names and competitors. It treats the agent’s own summary as a claim to verify, and quotes the passage when it fails an answer. Each check on each answer ends as passed, failed, or **not checked**. A check is not checked when it needs brand names and [Company Profile](/agent/company-profile/) has none, when a ceiling has no value, when the judge finds the evidence not enough to decide, or when the check could not run. An errored run gets no check results. ## When an answer passes [Section titled “When an answer passes”](#when-an-answer-passes) In a collection, the checks on a buyer question decide which rule applies: | The question’s checks include | An answer passes when | | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | | **you are recommended, not just mentioned** | That check passed. Other checks show on the report but do not decide. | | **What it says about you is accurate** (the free report’s questions that name you) | That check passed. | | Neither | Every check that ran passed, and at least one ran. | An answer is graded when the deciding check (or, in the last row, any check) has a result other than not checked. Errored and ungraded answers are left out of the counts. They do not count as failures. The report’s **How results are decided** box sums this up as “An answer passes when it meets every check on its question.” For the first two rows, read it as the one deciding check. ## You win, Split and You lose [Section titled “You win, Split and You lose”](#you-win-split-and-you-lose) For each buyer question, passed and graded answers are added up across every assistant. Then: | Share of graded answers that passed | Result | | ----------------------------------- | ------------- | | 80% or more | **You win** | | More than 20% and less than 80% | **Split** | | 20% or less | **You lose** | | No graded answers | **No result** | For example, a question asked 40 times with 2 errored answers has 38 graded. If 31 passed (82%), it is **You win**. Only collections mark questions this way. A single journey’s report shows each check against each run instead. If a question’s deciding check is never run, for example because Company Profile has no brand names, the question gets **No result**. On a journey report’s scorecard, a not-checked result is a white square with an outline, and its row does not read as passing. ## How “14 of 15” is counted [Section titled “How “14 of 15” is counted”](#how-14-of-15-is-counted) The headline reads, for example, “Assistants recommend Acme in 14 of 15 buyer questions”: * **14** is the number of questions marked **You win**. It counts every win, including accuracy questions, where a win means the answers about you were accurate. * **15** is the number of questions with a result. Questions with **No result** are left out and shown after the headline, for example “1 more could not be judged”. On a later run, the headline adds how the count compares with the collection’s first run, for example “2 more than on 7 Oct 2026”. ## Why results change between runs [Section titled “Why results change between runs”](#why-results-change-between-runs) * **Agents vary.** Each agent runs with its vendor’s default settings, so the same question can get a different answer each time. * **The web changes.** Answers that use web search change as search results change. * **The judge varies.** A judged check can grade the same evidence differently on another run. * **Models change behind their names.** Each run records the model the vendor reports; the report labels this “recorded, not pinned”. * **Errors change the sample.** Errored answers are left out, so the number of graded answers can differ. A journey report compares each check with the previous report for the same agent and model, so a change of model never reads as a change in your docs. A collection report compares each question with the collection’s first run. See [Track results over time](/journeys/track-results/). ## FAQ [Section titled “FAQ”](#faq) ### Why did my result change when nothing changed on our side? [Section titled “Why did my result change when nothing changed on our side?”](#why-did-my-result-change-when-nothing-changed-on-our-side) The agents, the web and the judge all vary between runs. A question near a boundary, such as 78% passing, can move between **Split** and **You win** on that variation alone. Compare the question’s passed count between runs, not only its result. ### Are the questions arbitrary? [Section titled “Are the questions arbitrary?”](#are-the-questions-arbitrary) No. The free report writes 15 questions for your company, from your website and Company Profile, in fixed slots. Ten do not name you: **Your category**, **Your buyers**, **A must-have**, **The problem**, two **Use case**, **Your edge**, two **Alternatives** and **Do it for me**. Five name you: **Who you are**, **Pricing**, **Fit**, **Head to head** and **How to**. You can edit every question before the report runs. In a collection you build, the questions are the journeys you choose. ### Does Split mean a competitor won? [Section titled “Does Split mean a competitor won?”](#does-split-mean-a-competitor-won) No. **Split** means some of the question’s answers passed and some did not, so nobody won it. **Recommended instead of you** on the report shows who was named in the answers you did not win. # Read a Buyer questions report > Every part of a Buyer questions report and of a single journey's report, in the order the app shows them, and what to look at first. A collection run produces a Buyer questions report. The free report creates a collection called **Buyer questions** and runs it once, which gives you this report. See [Get your first AI report](/get-started/first-ai-report/). Every collection you build gives the same kind of report, and calls each of its journeys a **buyer question**. ## What to look at first [Section titled “What to look at first”](#what-to-look-at-first) 1. **The headline.** How many buyer questions you win, and how many could not be judged. If several could not be judged, check that [Company Profile](/agent/company-profile/) has your brand names before you read further. 2. **The You lose group** at the top of **Every buyer question**. Open a row and read **An answer that did not pass**. 3. **Recommended instead of you**: who assistants put forward when you did not win. 4. **Fix these first**: up to three changes to start with. How each result is decided is on [How results are measured](/journeys/how-results-are-measured/). ## The Buyer questions report, in order [Section titled “The Buyer questions report, in order”](#the-buyer-questions-report-in-order) While the run is still going, the page says **This run is still collecting answers**. The report appears when every question’s answers are in, or after 60 minutes pass without a new answer. | Part | What it shows | | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Title and line** | “Do AI assistants recommend Acme?”, then the number of questions, how many times each was asked, on which assistants, and the date. With more than one run, a pager reads “report 2 of 3”. | | **Share** and **Download PDF** | **Share** creates a link anyone can open without signing in. The shared page shows the first rows of each list and the first cause of each question. **Download PDF** is not shown on a phone. It opens your browser’s print dialog and creates a share link if the report has none. See [Collections and sharing](/journeys/collections/). | | Answers collected | Shown only when the run stopped early: how many answers were collected. The counts use those answers. | | **Headline** | “Assistants recommend Acme in 14 of 15 buyer questions”, a square per question (filled for **You win**, half filled for **Split**, an outline for **You lose**, dashed for **No result**), and a written summary. | | **Recommended instead of you** | In the answers you did not win: how many named each competitor in your Company Profile. Under **Also named, not on your list**, other products those answers put forward, each with **Add to competitors**. With no competitors in Company Profile, the report asks you to add them. | | **Fix these first** | Up to three next steps. Each says how many buyer questions it affects and has **Start the fix**, which starts a Docs Agent or Marketing Agent session. | | **Every buyer question** | A row per question, grouped **You lose**, **Split**, **You win**, then **No result**. Columns: **Buyer question**, answers passed per assistant, **Passed** (for example “31 of 38”), and **Recommended instead**. The last row, **Answers passed**, totals each column. | | **Where assistants get answers** | A pie chart and a table of the sites cited, by **Kind of site**: You, Competitors, Review sites, Community, Blogs and news, Other sites. You and Competitors are split into docs and website. A documentation site set as a path, such as `github.com/acme/docs`, has a row of its own under You, and the rest of github.com does not count as yours. A page counts once per answer. | | **How we tested** | Closed by default. The assistants and their models, the number of questions and answers, web search, the date, your sites, your competitors, and **How results are decided**. | ### An open buyer question [Section titled “An open buyer question”](#an-open-buyer-question) Click a row in **Every buyer question** to open it: * **Asked as**: the persona the agents played. * **The conversation**: each turn of the question, with how many answers named you at that turn, for example “Named in 12 of 40”. * **Checks, worst first**: each check, with how many graded answers passed it, for example “Passed in 31 of 38”. * **What went wrong**: the causes of failed checks, each with **Fix in docs** or **Draft in Marketing**. * **An answer that did not pass**, with **Read the full answer**. * **Open the journey report**: the full report for this question. On a later run, a row can carry **New**, **Question changed**, **Was a win**, **Was split**, **Was a loss** or **Had no result**, compared with the collection’s first run. ## A single journey’s report [Section titled “A single journey’s report”](#a-single-journeys-report) **Open the journey report** in a row, or **Open** on a journey’s **Reports** page, shows one journey’s report. It has no win or loss; it shows each check on each run. | Part | What it shows | | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Header | The title and question, the number of runs, the date, and how many errored. **baseline** marks the first report for that agent and model since the journey was last edited. | | **Showing** | With two or more agents: **All engines**, or one agent at a time. Agents are never averaged together. | | **Scorecard** | A row per check, a square per run: green passed, red failed, a white outline not checked, grey errored. Each row shows how many runs passed. Click a square to read that run. | | **What went wrong** | Causes ranked by how many runs each explains, each with evidence quotes and a recommendation, and **Fix in docs** or **Draft in Marketing**. | | **Who was named** | Shown when the journey has a brand or competitor check: you and each competitor, with how many runs named them. | | **Where it read** | Shown when an answer cited something: the domains cited, with the share that are yours. Each domain opens to its pages. | | **Facts** | Totals across the runs: turns, sources cited, the share that are yours, and tokens. | | Run configuration | Closed by default: the agents and models, the number of runs, web search, the date, and your docs sites. | | **Trend** | Other reports for the same agent and model since the journey was last edited. | A run’s page shows the agent, model and tokens, each check’s result with the judge’s reason, and the conversation with the searches the agent ran and the sites it cited. On a journey with several turns, some agents record only the final answer; the run page then says that replies to earlier turns are not shown. ## FAQ [Section titled “FAQ”](#faq) ### Why does the report say “buyer question” when the app says “journey”? [Section titled “Why does the report say “buyer question” when the app says “journey”?”](#why-does-the-report-say-buyer-question-when-the-app-says-journey) They are the same thing. The report is written for readers who have not used the app, including people you share it with. ### Why are some sources not marked as mine? [Section titled “Why are some sources not marked as mine?”](#why-are-some-sources-not-marked-as-mine) The report marks a page as yours when it is on your website, one of its subdomains, or one of your documentation sites. Add your website and each docs site in Company Profile. A Buyer questions report counts a new site from its next run. Codex reports no sources, so its answers never appear in the sources sections. ### Can I trust the written summary and the fixes? [Section titled “Can I trust the written summary and the fixes?”](#can-i-trust-the-written-summary-and-the-fixes) An AI writes them from the report’s numbers, and the report says to check them before acting on them. The numbers themselves come from the checks. ### Who can see a report? [Section titled “Who can see a report?”](#who-can-see-a-report) Members of your organization. Anyone else needs a share link. See [Collections and sharing](/journeys/collections/). # Track results over time > Run a journey or collection again, find earlier reports, compare them, and keep runs comparable by holding questions, agents and models steady. Run a journey or collection again to see what changed since last time. Runs start only when someone in your organization starts them. There is no schedule. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * A journey or collection that has run at least once. * Any member of your organization can run journeys and collections and read their reports. ## Steps [Section titled “Steps”](#steps) ### Run it again [Section titled “Run it again”](#run-it-again) 1. For a journey, do one of these: * On the **Journeys** list, click **Run now** on its row. The row then shows that the run is queued, with a link to its reports. * On the journey’s **Reports** tab, click **Run N times**, or **Try it once** for one run per agent. 2. For a collection, open it and click **Run collection**, or click the run button on its row in the **Collections** tab. ### Find earlier reports [Section titled “Find earlier reports”](#find-earlier-reports) * **A journey:** its **Reports** tab groups reports into series, one per agent and model. Each series is headed by the agent’s name and notes “deltas are comparable within this series only”. Each row shows the date, **Baseline** on the first report, **Running** while a run is going, how many runs finished, and **Open**. * **A collection:** the **Reports** section of the collection page lists one report per run, with **Baseline** on the first. **Latest report** opens the newest. ## Compare reports [Section titled “Compare reports”](#compare-reports) ### In a journey report [Section titled “In a journey report”](#in-a-journey-report) Comparisons work one agent at a time. If the journey has more than one agent, select one under **Showing** first; results are never averaged across agents. * **Step through a series.** When the agent’s series has more than one report, arrows above the scorecard move to the previous or next report in it, labeled “same definition, same run configuration”. * **Read the movement column.** Each scorecard row shows how many more or fewer runs passed that check than in the previous report of the series, such as +2 or -1. The column stays empty when you view all agents at once. * **See the trend.** The **Trend** section at the bottom lists the other reports in the same series. A journey report has no charts. It uses the scorecard grid. ### In a collection report [Section titled “In a collection report”](#in-a-collection-report) Every later run is compared with the collection’s first run: * The headline says how many more or fewer buyer questions you win than on the first run’s date. * A question whose group changed shows what it was: **Was a win**, **Was split**, **Was a loss** or **Had no result**. * **New** marks a journey added since the first run. * **Question changed** marks a question whose wording changed since the first run. It is not compared, because its numbers would not mean the same thing. ## What makes two runs comparable [Section titled “What makes two runs comparable”](#what-makes-two-runs-comparable) | Keep the same | Why | | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Agents and models** | The app enforces this. Changing an agent’s model starts a new series with its own baseline, so you never compare two models by accident. See [Choose agents and models](/journeys/agents-and-models/). | | **Questions, persona and checks** | This one is up to you. Keep the wording the same between runs you want to compare. For a different question, create a new journey. | | **Number of runs** | The movement column counts passing runs, not a percentage. **Try it once** and full runs land in the same series, so a one-run report next to a ten-run report shows a large jump that is not real. | Some variation is normal. Answers can differ from one run to the next, and search results change, so a small movement between two reports can be noise rather than a change in your docs. Runs that errored are left out of the counts rather than counted as failures; every figure says how many runs finished. See [How results are measured](/journeys/how-results-are-measured/). ### The baseline [Section titled “The baseline”](#the-baseline) The baseline is the first report in each journey series, and the first run of a collection. It cannot be moved. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The new report appears at the top of the journey’s **Reports** tab, or under **Reports** on the collection page. * In a later collection report, questions that moved group show what they were, such as **Was a loss**. ## Next [Section titled “Next”](#next) * [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/) * [Collections and sharing](/journeys/collections/) * [How results are measured](/journeys/how-results-are-measured/) # Turn a gap into a fix > Send a question you are losing or a failing run from a Journeys report to the Docs Agent or the Marketing Agent, approve the change, and run it again. Take a gap a Journeys report found, such as a buyer question you lose or a run that fails a check, and hand it to the Docs Agent or the Marketing Agent to fix. Then approve the change and run the journey again to see whether the answers move. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * A journey or collection report with at least one cause under **What went wrong**, or a card under **Fix these first**. * For a docs pull request, your documentation repository connected through [GitHub](/agent/github-app-setup/) or [GitLab](/agent/gitlab-setup/). ## Where the fix buttons are [Section titled “Where the fix buttons are”](#where-the-fix-buttons-are) | Where | Button | After you click | | --------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | A journey report, under **What went wrong** | **Fix in docs** or **Draft in Marketing** on each cause | The new session opens. | | A collection report: open a question under **Every buyer question**, then **What went wrong** | **Fix in docs** or **Draft in Marketing** | You stay on the report; the button becomes **View in Docs Agent** or **View in Marketing Agent**. | | A collection report, under **Fix these first** | **Start the fix** | You stay on the report; the button becomes **View in Docs Agent** or **View in Marketing Agent**. | The report decides which agent gets each fix. Anything in your docs, or any fix that needs a code change, including your website’s code, goes to the Docs Agent with **Fix in docs**. Everything else goes to the Marketing Agent with **Draft in Marketing**. That includes blog posts, comparison pages, pricing pages, and getting your company named on the roundups, review sites and directories AI assistants cite. A **Fix these first** card names its agent, for example “The Marketing Agent can draft this”. ## Steps [Section titled “Steps”](#steps) 1. Open the report and find the gap. In a collection report, start with **Fix these first**; each card says how many buyer questions it affects. In a journey report, causes are ranked by how many runs they explain. 2. Click **Fix in docs**, **Draft in Marketing** or **Start the fix**. 3. Open the session. Its first message is the gap as the report states it, with a link back to the report: * **Fix in docs** or **Draft in Marketing**: the problem, the report’s suggestion, quotes from the answers that failed, and the pages the assistants cited. * **Start the fix**: the card’s text, the page it names if any, and the buyer questions it affects, each with how many answers passed and a link to its journey report. The agent starts from that message. It reads the report’s data, checks your own pages to confirm the problem is real and not already fixed, and then does the work: * The Docs Agent improves an existing page where it can, rather than adding one. * The Marketing Agent writes or changes the page or post. For a fix that means getting named on sites you don’t own, it gives you a ranked list of the pages to get onto, each with who publishes it, whether it names your company now, a published contact and where it was found, what to ask for, a short pitch, and an entry to paste in the page’s format. It never guesses an email address and sends nothing. * If your pages already cover the gap, the agent tells you instead of drafting. If the fix needs a change the agent can’t make, such as code it has no access to, it gives you a prompt to pass to your engineers. 4. Review the result and approve it: * **Docs Agent:** accept or reject its changes in the editor, then click **Raise PR**. Review and merge the pull request in GitHub or GitLab. See [Work in the editor](/agent/editor/) and [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). * **Marketing Agent:** edit the draft in the editor, then copy or download it and publish it yourself. See [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/). For an outreach list, send each pitch yourself from your own email. 5. Once the change is published on your public site, run the journey again: **Run now** on its row in the Journeys list, or **Run N times** on its **Reports** tab. For a collection, click **Run collection**. Journeys reach your content only through the public web, so a change that is merged but not yet published cannot move the answers. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * A session is open in the Docs Agent or the Marketing Agent. On a collection report, the button you clicked now reads **View in Docs Agent** or **View in Marketing Agent**. * For the Docs Agent, the editor toolbar shows **View PR #N** once the pull request is open. * After the next run, compare the reports. In a collection report, a question whose outcome changed shows what it was, such as **Was a loss**. See [Track results over time](/journeys/track-results/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | What you see | What to do | | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | A cause shows **Fix in docs** when you expected **Draft in Marketing** | The report labeled it a docs problem. Start a Marketing Agent session yourself if you want a draft. | ## Next [Section titled “Next”](#next) * [Track results over time](/journeys/track-results/) * [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/) * [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/) # Write checks that mean something > Choose and write journey checks so that a passing answer means what you think, and avoid checks that let every buyer question win. Checks decide whether each answer in a journey passes, so they decide every result on a report. Choose checks that test what you care about, and avoid checks that pass almost any answer. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * Any member of your organization can edit a journey’s checks. * Add your **Brand names** and **Competitor profiles** in [Company Profile](/agent/company-profile/). Checks that look for your brand need brand names. Without them, such a check reads “add your brand keywords” and cannot be picked, and on a journey that already has one, its results are not checked. ## How checks are evaluated [Section titled “How checks are evaluated”](#how-checks-are-evaluated) | Kind | How it decides | | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Measured** | Code reads the answer, so the same answer always gets the same result. | | **Judged** | An AI model reads the run and the check’s rubric, decides pass or fail, and quotes the passage when it fails. When the evidence is not enough to decide, the result is not checked. | To write your own check, click **add a custom check**. After **The answer**, select one of three types: | Type | Kind | How it is evaluated | | ------------------------------------------- | -------- | ---------------------------------------------------------------------------------------------- | | **meets a rubric you write** | Judged | Against your text. | | **mentions a term** (or **never mentions**) | Measured | Looks for your text anywhere in the final answer, ignoring case. Part of a longer word counts. | | **cites a page** | Measured | Passes when any URL the answer cites contains your text. | Every library check is listed in [Journey agents and checks](/reference/journey-agents-and-checks/). ## Why weak checks make every question win [Section titled “Why weak checks make every question win”](#why-weak-checks-make-every-question-win) Unless a buyer question has **you are recommended, not just mentioned** (or, in the free report, **What it says about you is accurate**), an answer passes when every check that ran passed. So a collection built from checks that almost never fail marks almost every question **You win**, however assistants treat you. These checks almost never fail: * **it never gave up or asked for a human** and **it found an answer** fail only an answer shorter than 1,000 characters that opens with a refusal, such as “I’m sorry” or “I can’t”. * **it hit no contradictions** fails only when pages the agent read disagree with each other. It says nothing about whether you were named. * **mentions a term** with a short term, which also matches inside longer words. * **cites a page** with a fragment such as `docs`, which matches almost any URL. * **it finished within the turn ceiling** on any agent but Claude Code. The others report no turn count, so the journey’s own turns are counted, and a ceiling at or above that number always passes. A new journey starts with **it hit no contradictions** and **it never gave up or asked for a human**. Neither tests whether an assistant recommends you. ## A weak check and a strong one [Section titled “A weak check and a strong one”](#a-weak-check-and-a-strong-one) Acme makes a feature flag service, and its main competitor is Hooli. Its journey asks: “Which feature flag service should a small team use with Next.js?” | | Weak | Strong | | -------------------------------------------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | Checks | **it never gave up or asked for a human**, **it hit no contradictions** | **you are recommended, not just mentioned**, with Acme’s brand names in Company Profile | | An answer that recommends Hooli and never names Acme | Passes: it did not refuse, and its sources did not disagree | Fails: Acme is not named at all | | An answer that says “Acme exists, but most teams choose Hooli” | Passes | Fails: Acme is named in passing, not put forward | | What the question’s result means | Almost nothing | How often assistants put Acme forward for this need | A custom check has the same trap. `it mentions "Acme"` passes “Avoid Acme for this”, so it tells you Acme was named, not that Acme was recommended. When you write a rubric, start with “Pass if” and name exactly what a passing answer must say, then name what fails, as the library’s rubrics do. For example: “Pass if the answer says Acme flags work with the Next.js App Router. Fail if it says they do not, and quote the claim.” Never leave a rubric empty: it can be saved, and the judge then grades against nothing. ## Steps [Section titled “Steps”](#steps) 1. Open the journey and click the **Edit** tab. 2. Under **What we’ll check**, remove checks that do not test what you want to learn. 3. To add a library check, click the link that counts the other checks, such as **8 more we can check**. **Suggested for research journeys** (or **Suggested for agent task journeys**) lists the ones that fit the journey’s kind; **Also available** lists the rest. Any check works on either kind. 4. To write your own, click **add a custom check**, select a type after **The answer**, and fill in its field. 5. For **it finished within the turn ceiling** or **it stayed under the cost ceiling**, set the **Turn ceiling** or **Cost ceiling**. A ceiling left empty is not checked. 6. Click **Save draft**. Runs from before you changed a journey’s checks were graded by the old checks. Keep that in mind when you compare reports. ## Check it worked [Section titled “Check it worked”](#check-it-worked) 1. Click **Try it once**. It runs the journey once on each agent and opens the journey’s **Reports** tab. 2. When the report’s row appears, click **Open**, then click a square on the **Scorecard** to open a run. 3. Read each check’s result and the judge’s reason. A check should fail an answer you would call a loss. If it passes one, the check is too weak. 4. A white square with an outline means a check was not checked. Fix its input, such as brand names or a ceiling. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### Every buyer question shows You win [Section titled “Every buyer question shows You win”](#every-buyer-question-shows-you-win) The questions’ checks pass almost any answer. Add **you are recommended, not just mentioned** to questions about whether assistants recommend you, or replace weak checks as in [A weak check and a strong one](/journeys/write-checks/#a-weak-check-and-a-strong-one). ### A brand check reads “add your brand keywords” [Section titled “A brand check reads “add your brand keywords””](#a-brand-check-reads-add-your-brand-keywords) Company Profile has no brand names. Add them under **Brand names**, with the variants to watch for. Until then, a question that **you are recommended, not just mentioned** decides shows **No result**. ## Next [Section titled “Next”](#next) * [How results are measured](/journeys/how-results-are-measured/): exactly when an answer passes. * [Journey agents and checks](/reference/journey-agents-and-checks/): every check, its kind and its inputs. * [Create a research journey](/journeys/create-a-research-journey/): write and run a question. # Agents overview > What the Docs Agent and the Marketing Agent write, where their work goes, how to start each one, and who can use them. EkLine has two agents: the Docs Agent updates your documentation, and the Marketing Agent drafts blog posts, LinkedIn posts and newsletters. ## See the Docs Agent in action [Section titled “See the Docs Agent in action”](#see-the-docs-agent-in-action) [How to automate documentation workflows with Slack and EkLine](https://www.youtube.com/embed/xn3cq_dfQVY) ## What the Docs Agent and Marketing Agent do [Section titled “What the Docs Agent and Marketing Agent do”](#what-the-docs-agent-and-marketing-agent-do) | | Docs Agent | Marketing Agent | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------- | | **What it writes** | New and updated docs pages, such as guides, API references, READMEs and changelogs. It also answers questions about your docs. | Blog posts, LinkedIn posts and newsletters, in your company’s voice. | | **Where its work goes** | A pull request on GitHub, or a merge request on GitLab, in a repository you listed under **Where EkLine writes**. | A draft in the editor that you copy or download. | | **Who approves it** | Your team reviews and merges the pull request. | You publish the draft yourself. | ### Docs Agent [Section titled “Docs Agent”](#docs-agent) The Docs Agent drafts its changes in the editor, where you accept, reject or edit them. When the draft is ready, click **Raise PR**, which puts “Open a pull request” in the message box, and send it. Sessions started from a pull request comment, Slack or an automation can open a pull request without that step. The agent writes only to the repositories under **Where EkLine writes**. It reads those under **What else EkLine can read** but does not write to them. See [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). The Docs Agent can also draft changes to a Confluence or Pylon knowledge base, which you publish with **Update KB**. See [Manage a knowledge base](/agent/manage-knowledge-base/). ### Marketing Agent [Section titled “Marketing Agent”](#marketing-agent) Each Marketing Agent draft opens in the editor as a document you can edit. **Copy** copies the open draft. **Download** saves the session’s drafts as Markdown, or as HTML from the menu. The agent opens a pull request only when you ask it to publish a draft to one of your documentation repositories and say where. It does not publish to your website or CMS. See the [Marketing Agent overview](/marketing-agent/). ## Start a session [Section titled “Start a session”](#start-a-session) **Docs Agent** * **In the app:** click **New session** in the sidebar, or enter a prompt in **Start a conversation** on the dashboard. If the composer shows **Docs** and **Marketing**, select **Docs**. See [Work in the editor](/agent/editor/). * **From a pull request or merge request:** mention `@ekline-ai` in a comment. See [GitHub pull requests](/agent/github-integration/) and [GitLab merge requests](/agent/gitlab-integration/). * **From Slack or Discord:** mention EkLine in a channel or thread. See [Slack](/agent/slack-bot/) and [Discord](/agent/discord-bot/). * **From Jira:** a ticket that matches one of your triggers starts a session. See [Jira tickets](/agent/jira-triggers/). * **On a schedule:** see [Automations](/agent/scheduled-agents/). * **From a Journeys report:** click **Fix in docs** on a finding. See [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/). * **From an MCP client** such as Claude Code or Cursor. See [MCP clients](/agent/mcp/). **Marketing Agent** * **In the app:** click **New session** in the sidebar, or enter a prompt in **Start a conversation** on the dashboard. If the composer shows **Docs** and **Marketing**, select **Marketing**. See [Start a session](/marketing-agent/#start-a-session). * **From a Journeys report:** click **Draft in Marketing** on a finding, or **Start the fix** on a collection report. See [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/). * **From an MCP client.** See [MCP clients](/agent/mcp/). Slack, Discord, Jira and pull request comments start Docs Agent sessions only. An [automation](/agent/scheduled-agents/) starts a session of the agent it was created for, the Docs Agent or the Marketing Agent. ## Who can use the agents [Section titled “Who can use the agents”](#who-can-use-the-agents) Any member of your organization can start a session with either agent. Both agents are available to every organization, including free accounts. If you don’t see Automations, Jira triggers, knowledge base management or a settings tab these pages describe, contact . See [Credits and usage](/workspace/credits-and-usage/) for how agent work is counted. ## What is in this section [Section titled “What is in this section”](#what-is-in-this-section) | Part | Pages | | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Give agents context | [Which setting to use](/agent/which-setting-to-use/), [Company Profile and Domains](/agent/company-profile/), [Custom instructions](/agent/custom-instructions/), [Reference documents and repository notes](/agent/reference-documents/), [Skills](/agent/custom-skills/) | | Start work | [Work in the editor](/agent/editor/), [Find a past session](/agent/find-sessions/), [GitHub pull requests](/agent/github-integration/), [GitLab merge requests](/agent/gitlab-integration/), [Slack](/agent/slack-bot/), [Discord](/agent/discord-bot/), [Jira tickets](/agent/jira-triggers/), [MCP clients](/agent/mcp/), [Sandbox](/agent/sandbox/) | | Docs Agent tasks | [Create documentation](/agent/create/), [Keep docs in sync with code](/agent/keep-docs-in-sync-with-code/), [Generate release notes](/agent/release-notes/), [Manage a knowledge base](/agent/manage-knowledge-base/), and the other pages under **Docs Agent tasks** | | Marketing Agent tasks | [Marketing Agent overview](/marketing-agent/), [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/), [Turn shipped changes into launch content](/marketing-agent/launch-content/), [How claims stay accurate](/marketing-agent/accurate-claims/) | | Automate | [Automations](/agent/scheduled-agents/), [Automatic PR review](/agent/automatic-pr-review/), [Control which PRs are reviewed](/agent/review-rules/) | | Review and ship | [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/), [For engineers: an EkLine pull request or comment on your repository](/agent/for-engineers/) | ## FAQ [Section titled “FAQ”](#faq) ### Which agent should I use? [Section titled “Which agent should I use?”](#which-agent-should-i-use) The Docs Agent for your documentation, or a Confluence or Pylon knowledge base. The Marketing Agent for a blog post, a LinkedIn post or a newsletter. ### Do the two agents share settings? [Section titled “Do the two agents share settings?”](#do-the-two-agents-share-settings) Partly. Each agent has its own custom instructions and never reads the other’s. Both read your repository notes and use your rules and skills. Both can read your Company Profile and reference documents. See [Which setting to use](/agent/which-setting-to-use/). ### Where do I see what an agent did? [Section titled “Where do I see what an agent did?”](#where-do-i-see-what-an-agent-did) Sessions are listed under **Sessions** in the sidebar, grouped by date. Open one to see the agent’s messages and the changes it made. To search or filter them, see [Find a past session](/agent/find-sessions/). # Marketing Agent > What the Marketing Agent writes, which sources it reads, where its drafts go, and how to start a session. The Marketing Agent drafts blog posts, LinkedIn posts, and newsletters in your company’s voice from your own docs, code, pull requests, and tickets. It also writes outreach lists for getting your company named on the roundups, review sites and directories AI assistants cite. ## What it writes [Section titled “What it writes”](#what-it-writes) | Format | What you get | | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | **Blog post** | A title, subheadings, images where they help, and a closing call to action. | | **LinkedIn post** | Paragraphs only, no headings, under 1,300 characters unless you ask for longer. The agent gives you any link in the chat, to post as a comment. | | **Newsletter** | A subject line, a two-sentence intro, two to five sections, and a sign-off, or a single section when you ask for one. | | **Outreach list** | The pages on other sites to get your company named on, ranked, each with a published contact, what to ask for, a short pitch, and an entry to paste. | For a blog post, the agent picks the type that fits the reader’s question, each with its own structure and length: explainer, decision guide or comparison (including “alternatives to” posts), implementation guide, migration guide, benchmark or audit, playbook, cost or ROI guide, point of view, or launch. See [Turn shipped changes into launch content](/marketing-agent/launch-content/). Images are illustrations and diagrams the agent draws, never photographs, at most three per draft. They use the colors in **Visual Style Guidelines** in your Company Profile, or a neutral palette when none are set. They cannot include logos, uploaded images, or named fonts. You can ask for a different image, a change, or none. ## What it reads [Section titled “What it reads”](#what-it-reads) Before it drafts, the agent reads your **Company Profile** (**Settings** > **Organization** > **Company Profile**): your product, audiences, competitors, brand names, **Tone and Voice**, and **Visual Style Guidelines**. If no tone and voice is on file, it still does the work, says so, and offers to help you write voice guidance and save it to your Company Profile. In an outreach list, it marks each pitch as written without your voice. See [Company Profile and Domains](/agent/company-profile/). It follows its own custom instructions, set in **Settings** > **Marketing Agent** > **Custom instructions**, which never apply to the Docs Agent. See [Custom instructions](/agent/custom-instructions/). Where you have connected them, it also reads: * Your documentation and code repositories, through GitHub or GitLab, including merged pull requests, changelog files, and release tags. * Closed tickets in Jira or Linear. * Knowledge bases and uploaded reference documents. See [Reference documents and repository notes](/agent/reference-documents/). * Launch documents and plans in Notion, Google Drive, Confluence, or Slack. * The links, files, and pull request numbers you add to your request, and a Journeys report when you start from one. * Public pages: your website and blog, competitors’ pages, and discussions on Reddit, Hacker News, and GitHub. Research is read-only, and a draft never links to or names a private document. See [How claims stay accurate](/marketing-agent/accurate-claims/). ## Where drafts go [Section titled “Where drafts go”](#where-drafts-go) Each draft opens in the Marketing Agent editor, where you can edit it directly. From the toolbar: * **Copy** copies the open draft. * **Download** saves every draft in the session, as Markdown by default, with HTML in the menu. Several drafts, or drafts with images, download as one ZIP file. The agent publishes only when you ask it to and name the destination. Ask it to add a draft to one of your documentation repositories and it confirms the path if you did not name one, then opens a pull request for your team to review and merge. The agent never overwrites an existing page. ## Start a session [Section titled “Start a session”](#start-a-session) 1. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Marketing**. The page reads **What are we making?** 2. Say what you want, for example `Write a blog post about our new audit log`. Or click **Write a blog post**, **Write a LinkedIn post**, or **Write a newsletter section** under the composer: it puts its opening words in the composer for you to finish. 3. Add anything the agent should use: paste links or pull request numbers, or click the attachment icon to add files. To approve the outline before it writes, add `Show me an outline first and wait for my go-ahead.` To get more than one format, ask for each one, for example `Write a blog post and a LinkedIn post about our new audit log`. 4. Send the message. The agent asks in the chat for anything else it needs. You can also start from the dashboard’s **Start a conversation** box (select **Marketing** when both agents are on), from a Journeys report (see [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/)), or by typing `/blog-post`, `/linkedin-post`, or `/newsletter` and a topic in the chat. Once a draft is open, the shortcuts **Brand voice check**, **Claims check**, **Shorter**, and **Variant for LinkedIn** sit under the message box. Each adds a request for you to send. ## Access [Section titled “Access”](#access) Any member of your organization can start a Marketing Agent session. See the [Agents overview](/agent/) for both agents, and [Credits and usage](/workspace/credits-and-usage/) for how agent work is counted. ## What it does not do [Section titled “What it does not do”](#what-it-does-not-do) * **It does not publish to Webflow or any other CMS.** You publish the post on your site yourself, from a copy or a download. * **It does not start from Slack, Jira or pull request comments.** Those start Docs Agent sessions only. A Marketing Agent session starts from the editor, an [MCP client](/agent/mcp/), a Journeys report, or an [automation](/agent/scheduled-agents/) that runs as the Marketing Agent. * **It does not post or send for you.** You post the LinkedIn draft, send the newsletter, and send each outreach pitch yourself. ## FAQ [Section titled “FAQ”](#faq) ### Can I schedule the Marketing Agent? [Section titled “Can I schedule the Marketing Agent?”](#can-i-schedule-the-marketing-agent) Yes. Create a custom automation and select **Marketing Agent** under **Runs as**, or turn on **Release Marketing Brief**, which by default every Monday drafts a Slack-ready brief of the customer-facing features that shipped in the last 7 days, as raw material for your marketing team. A Marketing Agent automation does not open pull requests; its drafts are in the run’s session. See [Automations](/agent/scheduled-agents/). ### Does it use the Docs Agent’s custom instructions? [Section titled “Does it use the Docs Agent’s custom instructions?”](#does-it-use-the-docs-agents-custom-instructions) No. Each agent has its own. The Marketing Agent never reads text you save for the Docs Agent. ### Can one request produce more than one format? [Section titled “Can one request produce more than one format?”](#can-one-request-produce-more-than-one-format) Yes. Ask for each format in the same request, for example `Write a blog post and a LinkedIn post about our new audit log`. Each one is drafted as its own file. # How claims stay accurate > How the Marketing Agent ties each claim to a source, checks blog posts and drafts that name your product, and what you review before anything ships. The Marketing Agent ties each claim in a draft to a source it read in that session, and checks every blog post and every draft that names your product in a separate pass before you see it. These checks make an unsupported claim less likely, but your review is still the last check. ## Drafts start from your sources [Section titled “Drafts start from your sources”](#drafts-start-from-your-sources) The agent researches before it writes, and it writes from what it read in that session: * **Every claim about your product cites a source the agent read.** A claim with no source is cut, not softened. The agent never invents a feature, a number, a quote, or a customer name, and never says that something shipped, is generally available, or is not behind a flag unless a source says so. * **Evidence is labeled.** Each finding is an official statement, a measured result, a practitioner’s report, or the agent’s own inference, which is never written as a measured result. Numbers, quotes, and code keep the source’s exact words, and a search-result snippet is never evidence. * **Your own pages are compared.** For a price, plan, limit, integration, security, or availability fact about your product, research checks your published pages and flags the one to fix if two of them disagree. * **Links and code are traceable.** A blog post links only to sources the agent read, inline on the words each one supports. Code and commands appear only when copied from a file the agent opened. * **Private sources stay private.** A draft never links to or names a private document. It describes one in words a reader could find, such as “the release notes”. In the chat, the agent cites it by path or link. Without research findings, the agent stops and asks for sources. It does not draft a blog post from memory. For the sources it reads, see [Marketing Agent](/marketing-agent/). ## A separate claims check [Section titled “A separate claims check”](#a-separate-claims-check) After drafting, every blog post and every draft that names your product goes through a claims check. The check reopens each source it can and looks at each image. A claim is anything that says your product does, has, ships, supports, or measures something; any number; any named customer, company, or person; any quote; any date or status (beta, generally available, behind a flag); and any comparison with a competitor or with how people work today. Each claim gets one of four outcomes: | Outcome | Meaning | What happens to it | | -------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- | | `sourced` | A source states it, with the same scope. | It stays. | | `unsourced` | Nothing the check can read states it. | It is cut, or rewritten without the number. | | `contradicted` | A source says otherwise. | It is rewritten to match the source, or cut. | | `overstated` | A source supports a narrower claim: for example, the draft drops a date, a sample, or a plan, or states one result as general. | It is narrowed to what the source shows. | The check also flags a link to a page outside the draft’s sources, and a diagram that differs from the text. Everything the check flags is fixed before you see the draft. For a blog post, if the fixes changed the draft, the check runs again on the final version and anything still open is reported to you. A blog post also gets a separate voice review, whose fixes keep each fact’s sourced wording. To run the check again after you edit, click **Claims check** under the message box and send the message. ## What you review before anything ships [Section titled “What you review before anything ships”](#what-you-review-before-anything-ships) 1. **The chat summary.** It opens with the agent’s recommendation, then lists what it read, with sources, what it could not read, what it drafted, which images it added, any code or commands in the draft it did not run, and the assumptions it made. 2. **The draft**, open in the editor, where you can edit it directly. When a later turn changes a draft, the editor shows the changes with **Accept All** and **Reject All**. 3. **The publishing step.** The agent publishes nothing unless you ask and name the destination; otherwise you copy or download the draft and publish it yourself. A draft added to a documentation repository arrives as a pull request your team reviews and merges. ## FAQ [Section titled “FAQ”](#faq) ### Can a draft still contain a wrong claim? [Section titled “Can a draft still contain a wrong claim?”](#can-a-draft-still-contain-a-wrong-claim) Yes. The check compares the draft with the sources the agent could read, and a source can be out of date or wrong. Read the summary’s list of what the agent could not read, and check any claim that rests on one of those. ### Does the agent make up a customer quote or a statistic? [Section titled “Does the agent make up a customer quote or a statistic?”](#does-the-agent-make-up-a-customer-quote-or-a-statistic) It should not. A number, quote, or customer name needs a source the agent read, and the claims check marks one without a source as `unsourced`, which is then cut or rewritten. Before you publish, check each quote and statistic against the sources in the chat summary. ### Does a LinkedIn post or newsletter get checked too? [Section titled “Does a LinkedIn post or newsletter get checked too?”](#does-a-linkedin-post-or-newsletter-get-checked-too) Yes, when it names your product. A draft that does not name your product skips the check. # Write a post that answers a buyer question > Have the Marketing Agent draft a blog post that answers one question your buyers ask, from a Journeys report or from your own question. The Marketing Agent can draft a blog post that answers one question your buyers ask. Start from a gap a Journeys report found, or from a question you already have. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * Any member of your organization can start a Marketing Agent session. * Your Company Profile has **Tone and Voice** filled in, under **Settings** > **Organization** > **Company Profile**. Without it, the agent asks about your audience, tone, and product before it drafts. See [Company Profile and Domains](/agent/company-profile/). * To start from a report: Journeys and a report that found a gap. See [Read a Buyer questions report](/journeys/read-a-report/). * Optional: your documentation repository connected, so the agent can read the pages the post should point to. ## Steps [Section titled “Steps”](#steps) * From a Journeys report 1. Open the report and find a fix for the Marketing Agent: * In a Buyer questions report, go to **Fix these first** and find a card that reads **The Marketing Agent can draft this**. Click **Start the fix**. You stay on the report, and the button changes to **View in Marketing Agent**. * In a single journey’s report, go to **What went wrong** and find a cause with **Draft in Marketing**. Click it, and the app opens the new session. The report suggests which agent fits each fix. See [Turn a gap into a fix](/journeys/turn-a-gap-into-a-fix/). 2. Open the session. The agent reads the report’s evidence, including the answers AI assistants gave, and checks whether your existing content already covers the gap. If a page already covers the gap, the agent says so or drafts changes to that page, instead of a duplicate. If not, it drafts what it thinks fits and tells you why. * From your own question 1. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Marketing**. 2. Type `Write a blog post that answers:` and the question, the way a buyer would ask it. 3. Add the audience and the goal if you know them. If you leave one out, the agent fills it in from your Company Profile and lists it in the chat as an assumption. It asks only when your profile cannot settle it and the answer would change the post. 4. Paste the links, docs paths, or pull request numbers the answer depends on. To add files, click the attachment icon. 5. Optional: add `Show me an outline first and wait for my go-ahead.` 6. Send the message. Either way, finish the same way: 1. Answer any questions the agent asks. It asks only when the answer would change the post. 2. Read the summary the agent posts in the chat: what it read, with sources, what it could not read, and the assumptions it made. 3. Edit the draft in the editor. To recheck it after you edit, click **Claims check** or **Brand voice check** under the message box and send the message. 4. Click **Copy**, or **Download** the post as Markdown or HTML, and publish it on your blog yourself. To add it to one of your documentation repositories instead, see [Where drafts go](/marketing-agent/#where-drafts-go). ### Example: Acme [Section titled “Example: Acme”](#example-acme) Acme sells a payments API. Its Buyer questions report shows that when buyers ask “Which payments API handles split payouts for marketplaces?”, AI assistants recommend Hooli. Acme’s request: ```text Write a blog post that answers: Which payments API handles split payouts for marketplaces? Audience: engineering leads at marketplace companies. Goal: get readers to Acme's split payouts guide. Source: https://docs.acme.com/payouts/split ``` The agent searches the question the way a buyer would, reads the top results, and notes what they leave unanswered. If a post on Acme’s blog already answers it fully, the agent asks whether to write a new post or refresh that one. The draft answers the question within its first three paragraphs, and adds an FAQ only when the agent found three or more real questions readers ask about it. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The draft is open in the editor. A blog post’s title is the buyer’s question or its answer. * The chat summary lists the sources the post rests on. * If you started from a report, the card or cause now shows **View in Marketing Agent**. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | What you see | What to do | | ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | | The cause shows **Fix in docs**, not **Draft in Marketing** | The report suggests a docs fix for this cause. Use the Docs Agent, or start a Marketing Agent session with the question yourself. | | “Marketing Agent did not start a session. Try again.” | Click the button again. | ## Next [Section titled “Next”](#next) * [How claims stay accurate](/marketing-agent/accurate-claims/): what the agent checks before you see a draft. * [Track results over time](/journeys/track-results/): after you publish, run the journey again to see whether the answers change. * [Turn shipped changes into launch content](/marketing-agent/launch-content/) # Turn shipped changes into launch content > Have the Marketing Agent turn merged pull requests, a changelog, or a release into a launch post, a LinkedIn post, or a newsletter draft. The Marketing Agent can turn what your team shipped (merged pull requests, changelog entries, release tags, and closed tickets) into a launch post, a LinkedIn post, or a newsletter draft. Nothing starts on its own when you merge or release: you start the session. For the whole job, with docs and release notes from the Docs Agent, follow the recipe [Turn a release into docs, release notes and a launch post](/get-started/recipes/release-to-launch/). ## Before you begin [Section titled “Before you begin”](#before-you-begin) * Any member of your organization can start a Marketing Agent session. * The repositories that hold your code and changelog are connected through [GitHub](/agent/github-app-setup/) or [GitLab](/agent/gitlab-setup/). * To include closed tickets, Jira or Linear is connected. See [Integrations](/agent/integrations/). * Your Company Profile has **Tone and Voice** filled in, under **Settings** > **Organization** > **Company Profile**. ## Steps [Section titled “Steps”](#steps) 1. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Marketing**. 2. Ask for a format and say what shipped, for example `Write a blog post about the releases since 1 September`. **Write a blog post**, **Write a LinkedIn post**, and **Write a newsletter section** under the composer put the opening words in for you. Either give a time window, or name the changes: * A window, for example “releases since 1 September”. Without one, the agent looks back 14 days. The longest window is 90 days. * Specific changes: paste pull request numbers, a release tag, or a changelog path into your request. 3. To get more than one format from the same changes, ask for each one in the same request, for example `Write a blog post and a LinkedIn post about the releases since 1 September`. 4. Send the request, then answer the agent’s questions. For a launch post, it asks when no source says who can use the feature today (plan, version, region, or beta), or where the call to action should point. 5. Read the agent’s sizing for a launch post. It recommends one of: a changelog line and no post, a product update post (600 to 1,000 words), a launch article (1,200 to 2,000 words), or a company launch that also needs a launch plan. When it recommends a changelog line, it gives you the line in the chat and still writes the post you asked for. 6. Review the draft in the editor, then click **Copy**, or **Download** it as Markdown or HTML, and publish it yourself. To add it to one of your documentation repositories instead, see [Where drafts go](/marketing-agent/#where-drafts-go). ## What the agent includes and leaves out [Section titled “What the agent includes and leaves out”](#what-the-agent-includes-and-leaves-out) **A launch post says exactly who can use the feature today**, by plan, version or release, region, or beta. A feature behind a flag, in beta, or on the roadmap is never described as available. The post also covers what changes for the reader (a before and after), objections taken only from your sources such as support threads, sales notes, or documented limits, and one call to action whose link the agent opens to check it works. **A release roundup leaves out** any change that was: * reverted in the window * a security or vulnerability fix * behind a feature flag, with no sign it is fully rolled out * internal only: refactors, infrastructure, build tooling, tests, or dependency updates with no visible effect for users * a documentation-only change It also drops a change when no source explains why it matters to users. A newsletter has two to five sections, one per change, ordered by what matters most to its audience. If you ask for a single newsletter section, it covers the top changes in one section. If every change is excluded, that is a quiet window, not an error. Release notes and changelog pages are Docs Agent work, not Marketing Agent formats. See [Generate release notes](/agent/release-notes/). ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The draft is open in the editor. * The chat summary lists the pull requests, tickets, or changelog entries the draft rests on, with links. * A launch post includes a line that says who can use the feature today. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | What you see | What to do | | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The agent says it cannot reach any source | Connect the repository through GitHub or GitLab, or paste the pull requests or changelog into your request. | | The agent asks for a shorter window | It works on at most 90 days at a time. Split the period into smaller windows. | | A change you expected is missing | It matched one of the exclusions above, or the agent judged that users would not notice it. If it was behind a flag and is now fully rolled out, point the agent to the release note, pull request, or ticket comment that says so. | ## Next [Section titled “Next”](#next) * [Turn a release into docs, release notes and a launch post](/get-started/recipes/release-to-launch/) * [How claims stay accurate](/marketing-agent/accurate-claims/) * [Write a post that answers a buyer question](/marketing-agent/buyer-question-post/) # Credits and usage > What uses EkLine credits, where to see your organization's usage, when it resets, and what happens when credits run out. Your organization has one credit balance. The agents and Journeys all draw on it. For prices, plans and how many credits a plan includes, see [ekline.io/pricing](https://ekline.io/pricing). ## What a credit measures [Section titled “What a credit measures”](#what-a-credit-measures) When an agent works, an AI model reads your request, the files and tickets it opens, the results of each step and the conversation so far, then writes its replies and drafts. All of that text is counted in tokens, which are small pieces of words, and your plan converts tokens into credits. Two requests that look alike can cost different amounts when one makes the agent read or write much more. ## What uses credits [Section titled “What uses credits”](#what-uses-credits) | What you do | What is counted | Usage page column | | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------- | | A Docs Agent session, whether you start it in the editor or from an integration such as Slack or GitHub | Each turn: everything the agent reads and writes while it works on your message | **Docs Agent** | | An automation run | The same as a session of the agent the automation runs as, because each run starts one | **Docs Agent** or **Marketing Agent** | | A Marketing Agent session | Each turn, counted the same way | **Marketing Agent** | | Running a journey, on its own or as part of a collection | Each answer from an AI assistant or coding agent, plus grading its checks and analyzing the results for the report | **Journeys** | ## What makes one run cost more than another [Section titled “What makes one run cost more than another”](#what-makes-one-run-cost-more-than-another) * **How much the agent reads.** Many files, a large repository, or a long ticket or Slack thread cost more than a single page. * **How long the session is.** On each turn the agent rereads the conversation so far, so later turns in a long session cost more than early ones. Start a new session for a new task. * **How much the agent writes and checks.** Long drafts, many pages, and extra steps such as a fact check add to the count. * **For journeys, how many answers you collect.** Every agent you chose answers a journey as many times as **Number of runs** says, so more agents, runs and journeys mean more answers. ## Watch a session’s credits [Section titled “Watch a session’s credits”](#watch-a-sessions-credits) Under the message box in an agent session, a counter shows the credits the session has used so far, for example **12 credits**. Hover over it for the exact figure. The counter is an estimate; the **Usage** page is the record of what your balance was charged. ## The Usage page [Section titled “The Usage page”](#the-usage-page) Open your account menu at the bottom of the sidebar and click **Usage**. The page reads “Credits used by your organization.” ### Balance [Section titled “Balance”](#balance) The card at the top depends on how your plan is billed. | Your plan | The card shows | | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | | Includes a set number of credits each cycle | **Credit balance this cycle**: credits used “of” the credits granted, credits remaining, a progress bar, and “Resets on” with the date. | | Bills your usage afterward | **Credits used this cycle**, and “You’re billed for this usage when the cycle ends on” with the date. | If your plan allows overage, the card adds one of: “Plus N credits of overage available.”, “Overage is available with no cap.” or “Overage is available.” If the card shows **No usage to show yet** and “Usage reporting is not available for your organization yet.”, contact . ### Filters, chart and table [Section titled “Filters, chart and table”](#filters-chart-and-table) * **Day** or **Month** groups credits by day or by calendar month. * The date picker offers **Last 7 days**, **Last 30 days**, **Last 90 days**, **Last 6 months** and **Last 12 months**, or dates you select. You can look back up to 12 months. * With no dates chosen, **Month** shows the last four calendar months, and **Day** shows the current billing cycle so far. * The chart is **Credits by month** or **Credits by day**, oldest first, with one series for each product: **Docs Agent**, **Marketing Agent** and **Journeys**. * The table, **Breakdown by month** or **Breakdown by day**, has a column for each product and a **Total**. The current month is marked **Current**. A range with no usage shows “No usage recorded for these dates.” All dates are in UTC, and figures are rounded to whole credits. If the page shows “We could not load your usage data”, try again shortly. ## When usage resets [Section titled “When usage resets”](#when-usage-resets) Usage resets at the end of each billing cycle. A cycle is a month or a year, depending on your plan, and it does not have to start on the first of the month. The balance card shows the date after “Resets on” or “when the cycle ends on”. ## When credits run out [Section titled “When credits run out”](#when-credits-run-out) EkLine checks your balance before it starts work, and stops starting new work shortly before the balance reaches zero. If your plan allows overage, work continues into the overage. When there are not enough credits, you see this message: > Your organization has used all of its EkLine credits, so this request can’t be started. An owner or admin can choose a plan in Settings, under Billing. It appears: * when you start an agent session or send a message in one; * when you run a journey or a collection; * in **Automations**, where a run that could not start for this reason is marked **Skipped**, with the reason under its start time. If you don’t see **Billing** under **Settings**, contact . ## FAQ [Section titled “FAQ”](#faq) ### Do Docs Reviewer checks use credits? [Section titled “Do Docs Reviewer checks use credits?”](#do-docs-reviewer-checks-use-credits) No. Docs Reviewer checks do not draw on your credit balance. ### Am I charged for a turn that fails? [Section titled “Am I charged for a turn that fails?”](#am-i-charged-for-a-turn-that-fails) No. A turn that ends in an error, or that you stop, is not charged. ### Do unused credits roll over or expire, and are free credits included? [Section titled “Do unused credits roll over or expire, and are free credits included?”](#do-unused-credits-roll-over-or-expire-and-are-free-credits-included) Rollover, expiry and free credits depend on your plan. See your plan on the [pricing page](https://ekline.io/pricing), or ask . # Docs platforms you keep > How EkLine works with Mintlify, GitBook, ReadMe, Docusaurus, Fern, Redocly, Astro, and Potluck Docs: it edits the docs in your Git repository and opens a pull request. You keep your docs platform, whether it is Mintlify, GitBook, ReadMe, Docusaurus, Fern, Redocly, Astro, or a similar tool. EkLine works on the files it builds from. ## How EkLine changes your docs [Section titled “How EkLine changes your docs”](#how-ekline-changes-your-docs) EkLine works with docs that live as files in a Git repository, on GitHub or on gitlab.com. 1. You select the docs repository under **Where EkLine writes** in **Settings** > **Integrations** > **GitHub Integration** or **GitLab Integration**. 2. EkLine edits pages and sidebar files as plain files on a new branch. 3. EkLine opens a pull request on GitHub, or a merge request on GitLab. 4. Your team reviews and merges it. 5. Your platform builds and publishes the change, as it does for any other commit. EkLine does not connect to a docs platform’s API, editor, or dashboard. It never publishes your site. EkLine looks for your framework’s config file at the root of the repository. If it finds one, it follows that framework’s rules for folders, file types, navigation, and components. If not, it treats the files as plain Markdown or MDX. Review each pull request as you would any other. ## What works on each platform [Section titled “What works on each platform”](#what-works-on-each-platform) | Platform | What works today | | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Mintlify** | EkLine edits the pages, the navigation file and other files in your repository, then opens a pull request. Mintlify publishes once you merge. EkLine does not use Mintlify’s editor or API. | | **GitBook** | Works through GitBook’s Git Sync. EkLine edits the Markdown pages and `SUMMARY.md` in the synced repository, then opens a pull request. GitBook syncs the change once you merge. A space without Git Sync is not supported. EkLine does not use GitBook’s API. | | **ReadMe** | EkLine edits Markdown pages you keep in a Git repository, then opens a pull request. It does not run the `rdme` CLI or call ReadMe’s API. It cannot edit pages that exist only in ReadMe’s editor. To get a merged change into ReadMe, use the sync you already run, such as a CI job. | | **Docusaurus** | EkLine edits Markdown and MDX pages and the sidebar file in your repository, then opens a pull request. | | **Fern** | EkLine edits the pages and the navigation file in the `fern/` folder, then opens a pull request. Your usual Fern publish step picks up the change once you merge. | | **Redocly** | EkLine edits Markdown and OpenAPI files as plain files, then opens a pull request. It has no special handling for Redocly, so check Redocly syntax when you review. | | **Astro and Starlight** | EkLine edits Markdown and MDX pages and the sidebar in your Astro config, then opens a pull request. | | **Potluck Docs** | EkLine edits Markdown and MDX pages and the sidebar in `src/config/sidebar.mjs`, then opens a pull request. The template generates llms.txt, Markdown pages, the sitemap and JSON-LD. | | **MkDocs, VitePress, and others** | Any docs site built from Markdown or MDX files in Git works the same way. | ## Start a new docs site [Section titled “Start a new docs site”](#start-a-new-docs-site) [Potluck Docs](https://potluck.ekline.io) is EkLine’s open source docs template, built on Astro and Starlight. EkLine works with it like any Astro site. These docs run on it. ## What you need [Section titled “What you need”](#what-you-need) * A docs repository on GitHub, or a project on gitlab.com. See [Connect GitHub](/agent/github-app-setup/) or [Connect GitLab](/agent/gitlab-setup/). * That repository chosen under **Where EkLine writes**. Until you select one, the GitHub Integration page shows **Setup is not finished: no documentation repositories chosen**. * Your code repositories under **What else EkLine can read**, so EkLine can see what changed and why. It never writes to them. If you do not see the **GitHub Integration** or **GitLab Integration** tab, contact . ## Help centers and knowledge bases [Section titled “Help centers and knowledge bases”](#help-centers-and-knowledge-bases) Confluence and Pylon knowledge bases do not live in Git. EkLine updates them directly, after someone clicks **Update KB** in the editor. See [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/). If you do not see the **KB Management** tab under **Settings** > **Integrations**, contact . For every tool EkLine connects to, see the [Integrations overview](/agent/integrations/). ## FAQ [Section titled “FAQ”](#faq) ### Does EkLine publish my docs site? [Section titled “Does EkLine publish my docs site?”](#does-ekline-publish-my-docs-site) No. EkLine opens a pull request or merge request. Your site changes only after your team merges it and your platform builds it. ### Can EkLine edit docs that live only in GitBook’s or ReadMe’s web editor? [Section titled “Can EkLine edit docs that live only in GitBook’s or ReadMe’s web editor?”](#can-ekline-edit-docs-that-live-only-in-gitbooks-or-readmes-web-editor) No. EkLine edits files in a Git repository. For GitBook, enable Git Sync. For ReadMe, keep your Markdown in Git and sync it to ReadMe with your own tools. ### Does EkLine work with self-managed GitLab or Bitbucket? [Section titled “Does EkLine work with self-managed GitLab or Bitbucket?”](#does-ekline-work-with-self-managed-gitlab-or-bitbucket) Not for editing your docs. EkLine edits docs and opens pull requests only on GitHub and gitlab.com. Self-managed GitLab and Bitbucket are not supported. To run Docs Reviewer checks in Bitbucket Pipelines, see the [Bitbucket integration guide](/reviewer/integrations/bitbucket-integration/). ### Can EkLine publish to Zendesk, Intercom, Webflow, or another CMS? [Section titled “Can EkLine publish to Zendesk, Intercom, Webflow, or another CMS?”](#can-ekline-publish-to-zendesk-intercom-webflow-or-another-cms) No. The **Zendesk** card in **Settings** > **Integrations** shows **Coming soon**. EkLine has no integration for Intercom, Webflow, or any other CMS. # Members and roles > The Owner, Admin and Member roles in an EkLine organization, what each can do, and how to invite, change and remove members. An EkLine organization has three roles: **Owner**, **Admin** and **Member**. You manage members, roles and access under **Settings** > **Organization**. ## Roles [Section titled “Roles”](#roles) | Role | Who has it | | ---------- | --------------------------------------------------------------------------------------------------- | | **Owner** | The person who created the organization, until they transfer ownership to someone else. | | **Admin** | Anyone an Owner or Admin invites or promotes to Admin. | | **Member** | The role an invite starts with, and the role of anyone who joins through your claimed email domain. | ## What each role can do [Section titled “What each role can do”](#what-each-role-can-do) You can act only on people whose role is lower than yours. Nobody can change their own role or remove themselves. | Action | Owner | Admin | Member | | ----------------------------- | ----------------------- | ----------------------- | ------ | | Invite members | Yes, as Admin or Member | Yes, as Admin or Member | No | | Delete a pending invite | Yes | Yes | No | | Change a member’s role | For Admins and Members | For Members | No | | Remove a member | Admins and Members | Members | No | | Transfer ownership | Yes | No | No | | Claim or remove email domains | Yes | Yes | No | ## Invite members [Section titled “Invite members”](#invite-members) 1. Go to **Settings** > **Organization** > **Members** and click **Invite Members**. Only Owners and Admins see this button. 2. Enter an email address and select a role. The role starts as **Member**. 3. To invite more people at once, click **Add another one** and fill in the new row. 4. Click **Send Invites**. Each person gets an email with a link. The invite is listed under **Pending Invites** until they open the link, sign in or sign up, and click **Accept invite**. Invites expire after 7 days. To cancel an invite, click **Delete Invite** (the × on its row) under **Pending Invites** and confirm. To send someone a new invite, delete their pending one first, then invite the same email address again. ## Let teammates join by email domain [Section titled “Let teammates join by email domain”](#let-teammates-join-by-email-domain) When the first person from your company signs up with a company email address, EkLine offers to claim that domain for the organization. Anyone who later signs up with an address at that domain sees **Your company already uses EkLine!** and can join your organization or click **Create my own organization**. People who join this way are Members. To claim a domain later, an Owner or Admin opens **Settings** > **Organization** > **Domains**, enters it in **Domain** and clicks **Claim**. A domain can be claimed only when: * it is not a public email domain, such as gmail.com; * it matches your own email address; * your email address is verified; * no other organization has claimed it. ## Change a role, transfer ownership or remove someone [Section titled “Change a role, transfer ownership or remove someone”](#change-a-role-transfer-ownership-or-remove-someone) Each row in the members list has an actions menu (⋮). It is available only on rows whose role is lower than yours. | To | Select | Then | | ------------------------------- | ---------------------- | -------------------------------------------------------------------------- | | Change a role | **Change Role** | Select the new role in **Update Member’s Role** and click **Update Role**. | | Transfer ownership (Owner only) | **Transfer Ownership** | Confirm with **Transfer Ownership**. You become an Admin. | | Remove someone | **Remove** | Confirm with **Remove User from Organization**. | When you remove someone, any personal API keys they created stop working in your organization. To leave an organization, ask someone with a higher role than yours to remove you. An Owner transfers ownership first. Rows can carry these badges next to the role: * **You**: your own row. * **Joined from a shared report**: the person joined through a shared report link. * **Unknown user**: the account no longer exists. The only action offered is **Remove**. ## The Access tab [Section titled “The Access tab”](#the-access-tab) **Settings** > **Organization** > **Access** shows your organization’s EkLine token. Click **Copy** beside it to copy it. * Use it in the `EK_TOKEN` field when you set up the Docs Reviewer, for example in the GitHub Action. See [Check your docs in CI](/reviewer/quickstart/). * The token belongs to the organization, so anything done with it is recorded as the organization, not as a person. * For your own work in Claude, Cursor or ChatGPT, create a personal API key under **Settings** > **Profile** > **Personal API keys** instead. See [MCP clients](/agent/mcp/). Store the token as a secret in your CI system, as the Docs Reviewer quickstarts show, rather than in a file in your repository. ## Next [Section titled “Next”](#next) * [Credits and usage](/workspace/credits-and-usage/) * [Security and data](/workspace/security-and-data/) # Security and data > What EkLine can access and change in your repositories and tools, how agent runs use credentials, how your data is used, and EkLine's SOC 2 status. The [EkLine Trust Center](https://ekline.io/trust-center) is the source of record for EkLine’s compliance status and subprocessors, which can change. Check it for the current details. ## What EkLine accesses [Section titled “What EkLine accesses”](#what-ekline-accesses) EkLine only accesses the repositories and tools you connect, with the permissions you grant. * **GitHub.** EkLine can see repositories only in GitHub accounts where the EkLine GitHub App is installed. When you install it, GitHub’s install screen lists the permissions the app requests and lets you give it all repositories or only the ones you select. See [Connect GitHub](/agent/github-app-setup/). * **GitLab.** EkLine uses an access token you create in GitLab, with the `api` and `read_repository` scopes. See [Connect GitLab](/agent/gitlab-setup/). * **Other tools**, such as Slack, Jira, Linear, Notion, Confluence and Google Drive. You connect each one under **Settings** > **Integrations**, and the connection belongs to your organization rather than to one person. See [Integrations](/agent/integrations/). ## What EkLine changes [Section titled “What EkLine changes”](#what-ekline-changes) EkLine opens pull requests and drafts, and nothing merges or publishes without your approval. In the **GitHub Integration** and **GitLab Integration** settings, you sort your repositories into two lists: | List | Badge | What EkLine does there | | ----------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------- | | **Where EkLine writes** | **Write access** | Opens pull requests (merge requests on GitLab). Pick the repositories that hold your documentation. | | **What else EkLine can read** | **Read-only** | Reads them to work out what changed and why. It never writes to them. Pick the repositories where product changes land. | Your team reviews and merges each pull request in GitHub or GitLab, as with any other contributor. A request in Slack can open the pull request without a click in EkLine; merging is still your team’s decision. See [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). Marketing Agent drafts stay in EkLine for you to copy or download. The Marketing Agent publishes only when you ask it to and say where. ## How agent runs use credentials [Section titled “How agent runs use credentials”](#how-agent-runs-use-credentials) Agent runs are sandboxed with scoped credentials. An agent works only through the repositories and tools your organization connected. You also manage two kinds of keys yourself: | Key | Where | Acts as | | ------------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | | Organization EkLine token | **Settings** > **Organization** > **Access** | Your organization. You add it as `EK_TOKEN` when you set up the Docs Reviewer. | | Personal API key | **Settings** > **Profile** > **Personal API keys** | You, in one organization. EkLine shows the key only once, when you create it. Click **Revoke** to turn it off. | A personal API key stops working in an organization when its owner is removed from it. See [Members and roles](/workspace/members-and-roles/). ## How your data is used [Section titled “How your data is used”](#how-your-data-is-used) Your data is never used to train models. The trust center lists the subprocessors EkLine uses to deliver its services, with the location of each. ## Compliance [Section titled “Compliance”](#compliance) EkLine is SOC 2 Type 2 compliant. See the [trust center](https://ekline.io/trust-center). For security questions the trust center does not answer, email . ## FAQ [Section titled “FAQ”](#faq) ### Is EkLine SOC 2 compliant? [Section titled “Is EkLine SOC 2 compliant?”](#is-ekline-soc-2-compliant) Yes. EkLine is SOC 2 Type 2 compliant. The [trust center](https://ekline.io/trust-center) shows the current status. ### Can EkLine change the code in our repositories? [Section titled “Can EkLine change the code in our repositories?”](#can-ekline-change-the-code-in-our-repositories) EkLine never writes to repositories under **What else EkLine can read**: it reads them to work out what changed and why. It opens pull requests only in repositories under **Where EkLine writes**, and your team decides whether to merge them. On a pull request in any connected repository, EkLine can post comments, for example when someone mentions it. See [For engineers](/agent/for-engineers/). ### Is our data used to train AI models? [Section titled “Is our data used to train AI models?”](#is-our-data-used-to-train-ai-models) No. Your data is never used to train models. ### Which subprocessors does EkLine use? [Section titled “Which subprocessors does EkLine use?”](#which-subprocessors-does-ekline-use) The [trust center](https://ekline.io/trust-center) lists them, with the location of each. ### How do we remove EkLine’s access? [Section titled “How do we remove EkLine’s access?”](#how-do-we-remove-eklines-access) * Click **Disconnect** on each tool under **Settings** > **Integrations**. * Uninstall the EkLine GitHub App in your GitHub account or organization settings. * For GitLab, click **Remove Token** under **Settings** > **Integrations** > **GitLab Integration**, and revoke the token in GitLab. * Click **Revoke** on each personal API key under **Settings** > **Profile** > **Personal API keys**. # Troubleshoot common problems > Fixes for the GitHub App not connecting, GitHub approval requests, running out of credits, Slack timeout messages, being signed out, and connecting GitHub sign-in to an existing account. Find the symptom that matches what you see, then follow its fix. ## The GitHub App installs but does not connect [Section titled “The GitHub App installs but does not connect”](#the-github-app-installs-but-does-not-connect) **Symptom.** You installed the EkLine GitHub App on GitHub, but EkLine then sent you to sign in, to finish signing up, or to your dashboard. **Settings** > **Integrations** > **GitHub Integration** still shows **GitHub is not connected yet**, and installing again brings you back to the same place. **Cause.** After the install, GitHub sends you to `https://ekline.io/github/setup` with the installation’s details in the link. EkLine attaches the installation to your organization only when you arrive signed in and have finished signing up. * If you were signed out, EkLine asks you to sign in, then brings you back without those details. It keeps them for one hour, so a return within the hour can still connect. * If you had not finished signing up, EkLine takes you through sign-up and on to your dashboard, and the installation is not attached. **Fix.** 1. Finish signing up for EkLine, and stay signed in. 2. Open `https://ekline.io/github/setup?installation_id=`, replacing `` with your installation ID. On GitHub, it is the number at the end of the address of the EkLine app’s **Configure** page. 3. If EkLine shows **Select Organization**, select your EkLine organization. 4. Under **Ready to Connect**, click **Connect GitHub**. EkLine opens **Settings** > **Integrations** > **GitHub Integration**. If EkLine shows **GitHub App Already Set Up** instead, the installation is already attached. Click **Go to GitHub settings**. 5. Select at least one repository under **Where EkLine writes**. Until you do, the page shows **Setup is not finished: no documentation repositories chosen**. If **GitHub Integration** shows an **Install the GitHub App** button, start from that button instead. When GitHub sends you back within 15 minutes, EkLine connects the installation without asking. If the setup page shows **User is not a member of this organization**, you are signed in with an account that does not belong to the EkLine organization you picked. Sign in with the right account, or ask an Owner or Admin to [invite you](/workspace/members-and-roles/). ## A GitHub organization owner must approve the app [Section titled “A GitHub organization owner must approve the app”](#a-github-organization-owner-must-approve-the-app) **Symptom.** You selected a GitHub organization on GitHub’s install screen. Back in EkLine, **Ready to Connect** shows, but **Connect GitHub** stays grayed out, even after you select your organization. No message says the app is waiting for approval. **Cause.** You are not an owner of that GitHub organization, so GitHub sent an install request to its owners instead of installing the app. Until an owner approves, there is no installation for EkLine to connect. **Fix.** 1. Ask an owner of the GitHub organization to approve the EkLine app request on GitHub. 2. Once it is approved, connect the installation in EkLine by following the fix for [the GitHub App installs but does not connect](#the-github-app-installs-but-does-not-connect), from step 2. If a Docs Agent session shows **Install the GitHub App on** followed by an organization name, the session uses repositories in a GitHub organization where the app is not installed. An owner of that organization must install it. The **Install on** button in that message starts the install. ## You ran out of credits [Section titled “You ran out of credits”](#you-ran-out-of-credits) **Symptom.** EkLine refuses to start work and shows this message: > Your organization has used all of its EkLine credits, so this request can’t be started. An owner or admin can choose a plan in Settings, under Billing. It can appear when you start a session or send a message, as an agent’s reply, and when you run a journey or a collection. An [Automation](/agent/scheduled-agents/) run that hits it is recorded as skipped. **Cause.** EkLine checks your organization’s credit balance before it starts each piece of work, and refuses the work when the balance cannot cover it. So you can see this message shortly before the balance reaches zero. EkLine does not warn you before it happens. **Fix.** An owner or admin of your organization chooses a plan in **Settings** > **Billing**. If you don’t see **Billing**, contact . If your account menu has **Usage**, it shows your usage this cycle and when the cycle resets. See [Credits and usage](/workspace/credits-and-usage/). ## Slack replies with a timeout or connection message [Section titled “Slack replies with a timeout or connection message”](#slack-replies-with-a-timeout-or-connection-message) **Symptom.** You mentioned EkLine in Slack and it replied in the thread with one of these messages. | Message | Cause | Fix | | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | | “⚠️ Your previous request is taking unusually long, so I couldn’t get to this one yet. Please send it again in a moment.” | EkLine works on one request per thread at a time. Your new request waited, for up to 70 minutes, and the earlier request in the thread was still running. | Wait for the earlier request to reply in the thread, then send yours again. | | “⚠️ I lost the connection to the agent before it finished, so I can’t tell how this request ended.” | EkLine heard nothing from the agent for 5 minutes. The agent may still be working. | Find the session in EkLine: filter the sessions list by **Source** > **Slack**. See [Find a past session](/agent/find-sessions/). | | “⚠️ The connection to the agent ended before a response arrived. Please try again.” | The connection closed before the agent sent its final reply. | Send the request again. | | “Sorry, something went wrong. Try again in a moment, or rephrase your request if the issue persists.” | A general failure, including EkLine not starting a session within 60 seconds. | Try again in a moment. If it keeps happening, rephrase the request or email . | | “⚠️ This workspace isn’t connected to EkLine. Ask an admin to reconnect.” | Your Slack workspace is not linked to an EkLine organization. | An admin connects the **Slack** card under **Settings** > **Integrations**. See [Slack](/agent/slack-bot/). | ## You are signed out [Section titled “You are signed out”](#you-are-signed-out) **Symptom.** EkLine shows **Signing out…** and returns you to the home page, or a page you open asks you to sign in. No message says your sign-in expired. **Cause.** A sign-in lasts 14 days. EkLine signs you out within a minute of it expiring, even in a tab you left open. **Fix.** Sign in again. If EkLine sent you to sign in from a page, it takes you back to that page afterwards. ## Signing in with GitHub asks you to connect GitHub [Section titled “Signing in with GitHub asks you to connect GitHub”](#signing-in-with-github-asks-you-to-connect-github) **Symptom.** You clicked **Sign in with GitHub**, and EkLine shows **Connect GitHub** with a message that your email address already has an EkLine account. **Cause.** EkLine keeps one account per email address. Your GitHub account uses an address that already has an EkLine account, one you created with Google or with a password. **Fix.** 1. In **Connect GitHub**, sign in the way you usually do: click **Sign in with Google**, or enter your email address and password. 2. EkLine connects GitHub to that account and signs you in. Next time, you can sign in with GitHub or the way you did before. If **Connect GitHub** says “You signed in as” followed by another address, you signed in to a different EkLine account, and EkLine did not connect GitHub. Sign in to the account for the address the message names. To connect GitHub to your account ahead of time, open **Settings** > **Profile** > **Authentication** and click **Connect with GitHub** under **Available Providers**. ## Still stuck [Section titled “Still stuck”](#still-stuck) Email with what you were doing, the exact message you saw, and the time it happened. # How EkLine Docs Reviewer works > Docs Reviewer checks each docs change against your style guide in CI, VS Code, Google Docs, or the CLI, and comments on what to fix before it merges. Docs Reviewer is EkLine’s check on every documentation change: it reviews the changed text against your style guide and comments on what to fix before the change merges. [Check your docs in CI ](/reviewer/quickstart/)Pick a setup and run your first review. ## What it checks [Section titled “What it checks”](#what-it-checks) Docs Reviewer reports each issue with a rule ID, such as `EK00031`, a severity (suggestion, warning, or error), and a message that says what to change. Its rules cover: * **Spelling and grammar**: typos, punctuation, repeated words, and American spelling. * **Tone and voice**: active voice, present tense, and contractions. * **Consistency**: product names and terms, dates, numbers, and units. * **Inclusive and respectful language**. * **Headings and sentences**: sentence-case headings, heading punctuation, and sentence length. * **Readability**: Flesch-Kincaid and Gunning fog scores. * **Links**: broken links and broken email addresses. Each rule has its own page in the [rules reference](/reviewer/rules/). Docs Reviewer can also review an OpenAPI spec for missing descriptions, missing constraints, and unused components. Most rules give the same result on every run. AI also filters out likely false positives: in VS Code, in CI on every pull request or merge request, and in the CLI when you pass `--ai-suggestions`, which also adds AI suggestions. ## It checks the change, whoever wrote it [Section titled “It checks the change, whoever wrote it”](#it-checks-the-change-whoever-wrote-it) In a pull request or merge request, Docs Reviewer checks the added and changed lines, not who wrote them. Docs from a coding agent such as Claude Code, Cursor, Codex, or GitHub Copilot get the same rules and the same review comments as docs a person writes. ## Where it runs [Section titled “Where it runs”](#where-it-runs) | Where | What you see | Set up | | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | GitHub Action | Review comments on the changed lines of a pull request, or results in GitHub Checks | [Quickstart](/reviewer/quickstart/github-action/), [full guide](/reviewer/integrations/github-integration/), [run on a label](/reviewer/integrations/github-action-label/) | | GitLab CI | Discussions on the merge request, or comments on each commit | [GitLab CI](/reviewer/integrations/gitlab-integration/) | | Bitbucket Pipelines | A review step on every pull request and on `main` | [Bitbucket Pipelines](/reviewer/integrations/bitbucket-integration/) | | VS Code | Highlights when you open or save a file, with suggestions on hover. An [AI assistant](/reviewer/integrations/vscode-integration/#ai-assistant-ask-ekline), **Improve with EkLine AI**, rewrites text you select or drafts new text | [Quickstart](/reviewer/quickstart/vscode/), [full guide](/reviewer/integrations/vscode-integration/) | | Google Docs | A list of issues in the EkLine Chrome extension, each with a suggested change you can accept | [Google Docs](/reviewer/quickstart/google-docs/) | | CLI | Issues in your terminal, or a `.jsonl` or `.csv` file | [Quickstart](/reviewer/quickstart/cli/), [full guide](/reviewer/integrations/cli-integration/) | Every setup except Google Docs uses your integration token from **Settings** > **Organization** > **Access** in the [EkLine Dashboard](https://ekline.io/dashboard). In Google Docs, you sign in from **Extensions** > **EkLine**. ## Where to start [Section titled “Where to start”](#where-to-start) Choose by where your docs live: * **In a GitHub, GitLab, or Bitbucket repository**: run it in CI, so every pull request or merge request gets checked. * **Written locally**: add VS Code for feedback while you write, alongside a CI check. * **Outside a repository**, such as specs and proposals: use Google Docs. * **Another CI system, or a check before you push**: use the CLI. [Check your docs in CI](/reviewer/quickstart/) compares the setups. ## Configure it [Section titled “Configure it”](#configure-it) Set your standard once, and every review uses it: * [Configuration file](/reviewer/configuration/ignoring-rules/): `ekline.config.json` at your repository root sets the folders to check, the style guide, the rules to ignore, and the files to exclude. Commit it so every pull request and every teammate uses the same settings. * [Choose a style guide](/reviewer/configuration/style-guides/): Google (the default), Microsoft, or Marketing, or a custom standard. * [Dictionary](/reviewer/configuration/dictionary/): product names and jargon that the spell check accepts, saved in your EkLine account so every setup uses them. * [Framework support](/reviewer/configuration/framework-support/): checks the text inside MDX components for Mintlify, Astro, Fern, Docusaurus, and GitBook. * [OpenAPI spec review](/reviewer/configuration/openapi-review/): reviews an OpenAPI 2.0, 3.0, or 3.1 file. * [Style-guide enforcement](/reviewer/style-guide-enforcement/): the GitHub setup from start to finish, including blocking merges. In the app, you can also turn individual rules on or off in **Settings** > **Docs Agent** > **Reviewer Rules**, and list terms to avoid, each with the term to use instead, in **Settings** > **Organization** > **Terminology**. After a change on either page, select **Apply Configuration**. Changes take effect within 5 minutes. These settings and your dictionary apply when a review uses your own standard, not a built-in style guide. ## Docs Reviewer and the Docs Agent [Section titled “Docs Reviewer and the Docs Agent”](#docs-reviewer-and-the-docs-agent) The [Docs Agent](/agent/) writes and updates docs, such as READMEs, API references, and guides. Docs Reviewer checks them. Use the two together: the agent drafts, and Docs Reviewer catches style, terminology, and formatting issues before the change merges. ## FAQ [Section titled “FAQ”](#faq) ### Does it check whole files or only my changes? [Section titled “Does it check whole files or only my changes?”](#does-it-check-whole-files-or-only-my-changes) Only the added and changed lines, by default. To check every changed file in full, set `filter_mode` to `file`. The [GitHub Action full guide](/reviewer/integrations/github-integration/#filter-modes) lists every filter mode. ### Can it block a merge? [Section titled “Can it block a merge?”](#can-it-block-a-merge) Yes, on GitHub and GitLab. By default, Docs Reviewer posts its comments without failing the check. * **GitHub:** add `reviewdog_flags: -fail-level=error` to the action’s inputs, so the job fails when Docs Reviewer reports an issue at error severity. Then make the workflow’s job a required check in your branch protection rule. See [Style-guide enforcement](/reviewer/style-guide-enforcement/#block-merges-until-docs-pass). * **GitLab:** set `INPUT_REVIEWDOG_FLAGS: "-fail-level=error"` in the job’s variables, then turn on **Pipelines must succeed** for the project. See [Block merges until docs pass](/reviewer/integrations/gitlab-integration/#block-merges-until-docs-pass). ### Can I add my own rules? [Section titled “Can I add my own rules?”](#can-i-add-my-own-rules) You can turn rules on or off, add terms to avoid, and add words to your [dictionary](/reviewer/configuration/dictionary/) yourself. For a custom rule, contact . ### Is Docs Reviewer the same as Automatic PR review? [Section titled “Is Docs Reviewer the same as Automatic PR review?”](#is-docs-reviewer-the-same-as-automatic-pr-review) No. [Automatic PR review](/agent/automatic-pr-review/) is a Docs Agent feature: it reads a code pull request and decides whether your docs need an update. Docs Reviewer checks the wording of the docs change itself. # 404 > We couldn't find that page. Try searching, or head back to the docs home. # Automatic documentation review on pull requests > EkLine automatically detects when pull requests need documentation updates and suggests or creates them based on confidence level. When you open a pull request, EkLine checks whether your docs need an update. It rates how sure it is. Then it stays silent, posts a suggestion, or starts a docs update for you. ## How it works [Section titled “How it works”](#how-it-works) ``` flowchart TD A[Pull request opened] --> B[EkLine analyzes PR diff] B --> C{Documentation impact?} C -->|Low confidence| D[No action taken] C -->|Medium confidence| E[Posts suggestion comment] C -->|High confidence| F[Posts auto-trigger comment] F --> G[Docs update flow runs automatically] G --> H[Documentation PR created] E --> I[You decide whether to trigger] ``` EkLine checks a pull request when it is opened, marked ready for review, or has a label added or removed. It: 1. Reads the PR diff, title, and description. 2. Compares the changes with your docs. 3. Decides whether the changes affect your docs. 4. Acts on how sure it is. Draft pull requests are skipped unless you turn off **Skip draft PRs** in the repository’s [review rules](/agent/review-rules/). ## Confidence tiers [Section titled “Confidence tiers”](#confidence-tiers) EkLine puts each check into one of three tiers: | Tier | When it applies | What EkLine does | | ---------- | ---------------------------------------------------------------------------------------- | ------------------------------------------- | | **Low** | Refactoring, new tests, or bug fixes that users do not see | Stays silent. Posts no comment. | | **Medium** | Changes in behavior that might affect a documented feature | Posts a suggestion comment on the PR | | **High** | New API endpoints, renamed configuration, removed features, or changed public interfaces | Posts a comment that starts the docs update | EkLine starts a docs update only when the impact is clear. When it is unsure, it stays silent. ### Medium confidence [Section titled “Medium confidence”](#medium-confidence) EkLine posts a comment on the pull request that says which docs might need an update. The comment mentions `@ekline-ai`, so you can start the update yourself if you agree. EkLine does nothing more. You decide whether to go ahead. ### High confidence [Section titled “High confidence”](#high-confidence) EkLine posts a comment that starts the [GitHub PR bot](/agent/github-integration/) flow. EkLine replies that the Docs Agent is on it, with a link to the session. The agent drafts the docs update and opens a docs pull request. If **Auto-create documentation PRs** is off in the repository’s review rules, the drafts wait in the editor instead. If no pull request appears, open the session from the link and ask the agent to open one. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) Before automatic PR review works on your repositories, you need: * An EkLine organization account. * The [EkLine GitHub App](https://ekline.io/settings) installed on the repository. * Automatic PR review on for your organization. It is on by default. * The repository **selected in your GitHub integration settings**, under either **Where EkLine writes** or **What else EkLine can read**. EkLine reviews pull requests only from repositories you selected. It skips PRs from other repositories the app can access. See [Configure repositories](/agent/github-app-setup#configure-repositories). * **Enable monitoring** on for the repository. It is on by default. Then it runs on the repositories you selected, for pull requests that pass each repository’s [review rules](/agent/review-rules/). ## What you see on the pull request [Section titled “What you see on the pull request”](#what-you-see-on-the-pull-request) | Scenario | What appears on the PR | | ---------------------- | --------------------------------------------------------------------------------------------------------------- | | Low confidence | Nothing. EkLine stays silent. | | Medium confidence | A comment that suggests a docs update, with `@ekline-ai` mentioned so you can start it | | High confidence | A comment that starts the docs update, then a reply with a link to the session. The agent then opens a docs PR. | | Error during the check | Nothing. EkLine stays silent. | At most one automatic review comment appears per pull request. ## Relationship to the GitHub PR bot [Section titled “Relationship to the GitHub PR bot”](#relationship-to-the-github-pr-bot) Automatic PR review builds on the [GitHub PR bot](/agent/github-integration/): * **Manual flow**: You mention `@ekline-ai` in a PR comment to start a docs session. * **Automatic flow**: EkLine posts the `@ekline-ai` mention for you when the impact is clear. Both flows start the same kind of docs session. If EkLine already posted an automatic comment and you then mention `@ekline-ai` on the same PR, the existing session resumes. No second session starts. ## GitLab merge requests [Section titled “GitLab merge requests”](#gitlab-merge-requests) Automatic review also runs on GitLab merge requests, with these differences: * A merge request is reviewed when it is opened, reopened, or marked ready. Adding or removing a label, or pushing new commits, does not start a review. * EkLine needs the webhook and the access token from [Connect GitLab](/agent/gitlab-setup/). * Merge requests from `dependabot`, `renovate`, `gitlab-bot`, or any username ending in `-bot` are always skipped. * EkLine’s comments are posted as the GitLab user who owns the access token you connected. ## Run a manual assessment [Section titled “Run a manual assessment”](#run-a-manual-assessment) You can also check a PR yourself with the `/analyze-pr-for-docs-needs` command in the EkLine Docs Agent. Give the PR URL as an argument: ```text /analyze-pr-for-docs-needs https://github.com/your-org/your-repo/pull/123 ``` The agent compares the PR diff with your docs and uses the same confidence tiers. Use it to check a PR without waiting for the automatic review, or to check a PR again after large changes. ## Current limitations [Section titled “Current limitations”](#current-limitations) * **One check per PR**: New commits pushed after the first check do not start a new one. * **Fixed tiers**: You cannot change the thresholds that decide whether EkLine stays silent, suggests, or starts an update. To control which pull requests EkLine reviews, use [review rules](/agent/review-rules/). * **PR context only**: The check uses the PR diff, title, and description. It does not read linked Jira or Linear tickets. * **This PR’s changes only**: EkLine checks the changes in the PR. It does not look for gaps that were already in your docs. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | No comment appears on my PR | Check that the repository is selected in your GitHub integration settings, under **Where EkLine writes** or **What else EkLine can read**. Check that **Enable monitoring** is on for it. Check that the EkLine GitHub App is installed and automatic PR review is on for your organization. EkLine also skips draft PRs by default, PRs your review rules filter out, and PRs that already have a session. A Low check posts no comment. | | EkLine posted a suggestion but I want the update | Mention `@ekline-ai` in a new comment on the PR. Say which docs changes you need. | | The auto-triggered docs PR is wrong | Comment on the docs PR, mention `@ekline-ai`, and give your feedback. The agent resumes the session and pushes new commits. | | EkLine started an update on a PR that does not need docs | The check is best-effort. Close or ignore the docs PR. | ## Next steps [Section titled “Next steps”](#next-steps) * [Control which PRs are reviewed](/agent/review-rules/): scope automatic PR review per repository by branch, title, author, label, or changed files. * [GitHub PR bot](/agent/github-integration/): trigger documentation sessions manually from PR comments. * [Create documentation](/agent/create/): generate documentation from your codebase, videos, and external sources. * [Update and review](/agent/update-review/): keep documentation in sync with code changes. # Combine multiple sources into one document > Reference a ticket, pull request, Slack thread, and spec in a single Docs Agent prompt to produce one authoritative document, then open a pull request. Give Docs Agent several sources in one prompt, and it combines them into one document. You review it and open it as a pull request. Combine sources when a feature’s details are spread across tools: requirements in a Jira or Linear ticket, code in a pull request, edge cases in a Slack thread, and the design in a Notion or Confluence spec. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * At least one documentation repository [connected to EkLine](/agent/github-app-setup/). * The integrations that hold your sources connected under **Settings** > **Integrations**. See [Integrations](/agent/integrations/) to connect Slack, Notion, Linear, Jira, Confluence, Google Drive, GitLab, and PostHog. * Access to each source for the account that connected its integration. Integrations are connected once for your whole organization, and the agent reads through that connection, not with your own access. ## Combine your sources [Section titled “Combine your sources”](#combine-your-sources) 1. Gather the sources that describe the same topic. For a feature launch, that is often the ticket, the pull request, the Slack thread where the team discussed it, and the original spec. 2. Open Docs Agent and write one prompt that lists every source and says what to produce. Paste exact URLs or ticket IDs. The agent works out which tool each one comes from: ```text Write a feature guide for our new rate limiting, drawing on: - Linear ticket ENG-1234 for the requirements - GitHub pull request #482 for the implementation details - This Slack thread for the edge cases the team found: https://workspace.slack.com/archives/C01234/p1234567890 - The original design in Notion: https://notion.so/your-workspace/rate-limiting-spec Put it in the docs repo under guides/. Cover what rate limiting does, the default limits, the response headers, and how to handle a 429 error. ``` 3. Wait while the agent fetches each source and drafts the document. It reports the sources it read as it works. 4. Review the draft in the editor panel. Confirm that each source contributed the part you expected: requirements from the ticket, behavior from the pull request, edge cases from the thread. ## Write an effective multi-source prompt [Section titled “Write an effective multi-source prompt”](#write-an-effective-multi-source-prompt) Give each source a purpose and name the output you want. | Instead of… | Try… | | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | | “Document this feature from ENG-1234 and PR #482” | “Write a feature guide for rate limiting. Use ENG-1234 for the requirements and PR #482 for the implementation details.” | | “Combine these links into docs” | “Create one deployment guide from the runbook in Confluence and the checklist in this Slack thread. Prefer the runbook where they disagree.” | | “Update the API docs with everything about auth” | “Update the authentication reference using ENG-1234 (the OAuth change) and PR #501 (the new token endpoint). Keep the existing structure.” | **Include in your prompt:** * Each source as an exact URL or ticket ID. * What each source contributes. * The document type and where it belongs in your repository. * The sections you want, so the agent maps sources onto structure. ## Handle conflicting sources [Section titled “Handle conflicting sources”](#handle-conflicting-sources) A ticket describes the plan, but the pull request may ship something different, and a spec may be older than the final design. When sources disagree, tell the agent which one wins: ```text Where the Notion spec and PR #482 disagree, follow the pull request, because it reflects what actually shipped. Note any requirement from ENG-1234 that the PR did not implement. ``` If you don’t say which wins, the agent points out the conflict in the chat so you can decide. Ask it to settle a specific difference, and it revises that section. ## Verify before publishing [Section titled “Verify before publishing”](#verify-before-publishing) 1. Enable **View All Changes** in the toolbar to see a diff of everything the agent wrote. Confirm no source was dropped and no section mixes up details from different sources. 2. Check that claims trace back to a source. If a detail looks unsupported, ask the agent where it came from, for example `Which source says the default limit is 100 requests per minute?` 3. Click **Raise PR** in the toolbar. The chat box fills with `Open a pull request for` and your repository’s name. Press **Enter** to send it, or edit it first to add instructions. 4. The agent opens the pull request and replies with a link where you finish the review on GitHub. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause | Fix | | ------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | A source was skipped | The integration isn’t connected, or the account that connected it can’t open that source | Connect the integration under **Settings** > **Integrations**, or give the connected account access to the source, then reference it again. | | The draft leans on one source | The prompt didn’t say what each source contributes | Restate the prompt and assign a role to each source, such as “use the ticket for requirements, the PR for behavior.” | | Details from two sources are mixed up | The sources overlap and no precedence was set | Tell the agent which source wins for the overlapping topic, then ask it to revise that section. | | The agent asks which source to trust | Two sources give conflicting facts | Reply with the source of truth, for example “follow the pull request; the spec is outdated.” | | A pasted link isn’t recognized | The URL is malformed, or the service isn’t connected | Paste the exact URL from the source, and confirm the matching integration is connected. | ## Next steps [Section titled “Next steps”](#next-steps) * [Integrations](/agent/integrations/): connect Slack, Notion, Linear, Jira, Confluence, Google Drive, and more. * [Create documentation](/agent/create/): generate READMEs, API references, and guides from a single source. * [Update and review](/agent/update-review/): keep documentation in sync with code changes and tickets. * [Customize for your organization](/agent/custom-instructions/): set standing instructions so every session follows your conventions. # Company Profile and Domains > Describe your company, website, brand names, audiences, competitors, voice and visual style once, so EkLine's agents write as your company. Company Profile is where you describe your company once: what it makes, how its names are spelled, who it writes for, who it competes with, and how it sounds. EkLine’s agents then write as your company instead of guessing. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * Any member of your organization can edit Company Profile. ## What Company Profile holds [Section titled “What Company Profile holds”](#what-company-profile-holds) The fields appear in this order under **Settings** > **Organization** > **Company Profile**: | Field | What to put there | | ---------------------------- | ------------------------------------------------------------------------------------------------------ | | **Company Profile** | What your company does, its mission and background | | **Brand names** | Each brand or product name as you write it, plus the variants to watch for, with commas between them | | **Website** | Your company’s website, such as `acme.com`. It sits with **Documentation sites** under **Your sites**. | | **Documentation sites** | The URL of each site where you publish docs, with an optional label | | **Key Features** | Your product’s main features | | **Audience (User Profiles)** | Who reads your docs and content | | **Personas** | Named readers, each with an optional note on what they are trying to do | | **Competitors** | Your main competitors, described in your own words | | **Competitor profiles** | Each competitor’s name, with an optional URL and aliases | | **Tone and Voice** | How your company sounds when it writes | | **Visual Style Guidelines** | Brand colors and the look you want for images. See [Visual style guidelines](/agent/visual-style/). | | **Additional Context** | Anything else the agents should know | The large text fields hold up to 10,000 characters each. They are **Company Profile**, **Key Features**, **Audience (User Profiles)**, **Competitors**, **Tone and Voice**, **Visual Style Guidelines** and **Additional Context**. ## What onboarding fills in [Section titled “What onboarding fills in”](#what-onboarding-fills-in) [Your first AI report](/get-started/first-ai-report/) reads your website and fills in Company Profile for you, including **Website**, **Tone and Voice** and **Visual Style Guidelines**. You check everything before EkLine saves it, and you can change any field here later. If **Audience (User Profiles)** is empty when you confirm the profile, EkLine fills it with the names of the audiences you confirmed, such as “Platform engineer, Engineering lead”. An audience you already saved is never replaced. ## Refresh Visual Style Guidelines from your website [Section titled “Refresh Visual Style Guidelines from your website”](#refresh-visual-style-guidelines-from-your-website) Under **Visual Style Guidelines**, **Refresh from website** reads the website saved under **Your sites** and drafts the colors, fonts, and logo for you. A preview shows the logo, up to four colors, and the fonts before anything changes. Choose **Replace guide** to put the draft into the field, or **Cancel** to keep your current text. If the field is empty, the button reads **Use this guide**. The field then saves like any other. The button is off until you save a website under **Your sites**. If EkLine can’t read a brand from the site, a message tells you so and nothing changes. ## Which agents read it [Section titled “Which agents read it”](#which-agents-read-it) | Agent | When it reads Company Profile | | --------------- | ---------------------------------------------------------------------------------------------------------------- | | Marketing Agent | Every session. It reads the profile before it drafts anything. | | Docs Agent | Only when company context is on for your organization. To check or change this, contact ****. | Both agents read the profile when a session starts. A change applies to the next session you start. If **Tone and Voice** is empty, the Marketing Agent says it has no company voice on file. Before it drafts, it asks you three things: who the audience is, what tone you want, and one sentence about the product. In chat, the Marketing Agent may call this page **Company Info**. It is the same page. [Journeys](/journeys/) also uses four fields. It finds your **Brand names** and **Competitor profiles** in AI answers. It uses your **Website** and **Documentation sites** to spot your own pages among the sources an answer cites. ## Steps [Section titled “Steps”](#steps) 1. Go to **Settings** > **Organization** > **Company Profile**. 2. Fill in the fields that apply to you. For the Marketing Agent, fill in **Tone and Voice** and **Brand names**. With its custom instructions, they set the tone and the names in its drafts. 3. Add a row for each brand name, documentation site, persona or competitor with **Add brand name**, **Add documentation site**, **Add persona** or **Add competitor**. 4. Each field saves on its own, so there is no button to click. A text field saves when you stop typing or move to another field, and **Saved** appears under it. A list saves once all its rows are complete, and **Saved** appears next to its add button. To remove a row, select its trash icon and confirm with **Remove**; the change saves at once. A new row you have not filled in is removed straight away. A field over 10,000 characters is marked as you type, and a row that is missing something is marked when you leave it. Neither is saved until you fix it, and a list with such a row waits until the row is fixed. If a save fails, the page shows **Couldn’t save.** with **Try again**. ## Check it worked [Section titled “Check it worked”](#check-it-worked) 1. Open the Marketing Agent and start a new session. 2. Ask for a short draft and check that it uses your product names and voice. ## Domains [Section titled “Domains”](#domains) **Settings** > **Organization** > **Domains** lists the email domains your organization claims, such as `acme.com`. When someone signs up with a verified email at a claimed domain, sign-up offers to let them join your organization. Domains is not agent context: no agent reads it. It is separate from the **Website** field. Only Owners and Admins see the tab. Anyone else who opens it sees **Only Owners and Admins can manage domain claims.** ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### The Company Profile tab isn’t there [Section titled “The Company Profile tab isn’t there”](#the-company-profile-tab-isnt-there) If you don’t see **Settings** > **Organization** > **Company Profile**, contact **** with your organization name. ### Website shows “Enter a website like acme.com” [Section titled “Website shows “Enter a website like acme.com””](#website-shows-enter-a-website-like-acmecom) Enter one public website address, such as `acme.com`. ## Next [Section titled “Next”](#next) * [Visual style guidelines](/agent/visual-style/): Set the colors and look of the images agents draw. * [Custom instructions](/agent/custom-instructions/): Add standing instructions for one agent. * [Reference documents and repository notes](/agent/reference-documents/): Upload documents and describe each repository. * [Which setting to use](/agent/which-setting-to-use/): Compare every way to give the agents context. # Integration authentication requirements > The integrations EkLine Docs Agent supports, the authentication each uses, the role required to connect it, and the exact scopes the agent requests. Docs Agent connects to the tools your team already uses, such as source control, issue trackers, knowledge bases, and chat. It uses them to gather context and publish docs. Before you approve a connection, check what it grants. ## How authentication works [Section titled “How authentication works”](#how-authentication-works) Docs Agent connects to your tools in one of three ways. In every case, you authorize the connection. EkLine never asks for a user password. | Method | How you authorize | What EkLine receives | | ----------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | OAuth 2.0 | You approve the connection on the provider’s screen, which lists the exact permissions EkLine asks for. | A scoped grant from the provider. Revoke it at any time in the provider or in EkLine. | | Access token or API key | You create a scoped token in the provider and paste it into EkLine. | The token you made, with the scopes and role you gave it. | | GitHub App | You install the EkLine GitHub App on the repositories you select. | Short-lived tokens that GitHub issues for those repositories. | ## Data access and permissions [Section titled “Data access and permissions”](#data-access-and-permissions) These principles apply to every integration: * **The agent has the connecting account’s permissions.** Docs Agent can read or change only what the account that authorized the connection can access. It cannot reach anything that account cannot. * **Connections are organization-level.** You connect an integration once for the whole organization. Every member then uses it in Docs Agent sessions. * **You choose the scope.** Select the repositories, spaces, or knowledge bases the agent can work with. Content you do not select stays out of reach. * **Security.** See the [EkLine trust center](https://ekline.io/trust-center) for compliance and subprocessors. * **Read and write access is explicit.** Several integrations can write. The **Data access** column in [Supported integrations](#supported-integrations) shows each connection’s level. The [scope tables](#oauth-integration-scopes) list every permission each connection asks for. ## Supported integrations [Section titled “Supported integrations”](#supported-integrations) If you don’t see one of these under **Settings** > **Integrations**, contact . | Integration | Authentication | Role required to connect | Data access | How Docs Agent uses it | | ------------------------ | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | GitHub | GitHub App installation | GitHub organization owner | Read and write | Reads repository code and pull requests for context, commits changes to open documentation pull requests, and posts or updates pull request comments. | | GitLab | Access token (group, project, or personal) with the `api` and `read_repository` scopes | Group Owner for a group token, or a member who can create a token with both scopes | Read and write | Reads merge requests, issues, and repository files, commits changes, and opens merge requests in your documentation projects. | | Jira | OAuth 2.0 | A member with access to the projects, or an Atlassian service account | Read and write | Reads issue titles, descriptions, and comments to update documentation or generate release notes. With [Jira triggers](/agent/jira-triggers/), the agent starts work when a ticket matches a trigger, and comments on the ticket. | | Linear | OAuth 2.0 | A member with access to the issues | Read and write | Reads issue titles, descriptions, and comments to update documentation or generate release notes. Creates or updates issues when you ask. | | Confluence | OAuth 2.0 | An Atlassian account with access to the spaces, ideally a service account | Read and write | Reads pages and spaces as source material. With **KB Management**, updates managed pages and their images and publishes changes back to Confluence. | | Notion | OAuth 2.0 | A member with access to the pages | Read and write | Reads pages and databases, such as product specs and design documents, as source material. Creates or updates pages when you ask. | | Google Drive | OAuth 2.0 | A member with access to the files | Read and write | Searches, reads, creates, uploads, moves, renames, and deletes files and folders on behalf of the connecting account. | | Slack | OAuth 2.0 (workspace app installation) | Slack workspace owner or administrator | Read and write | Reads the thread where you mention EkLine in a public or private channel, along with nearby channel messages and files shared in the thread. Replies in the thread, adds reactions, and uploads a `proposed-changes.diff` file. | | PostHog | Personal API key with a selected region | A member who can create a personal API key | Read | Reads insights, HogQL query results, and feature flag configurations to ground release notes and feature documentation in usage data. | | Pylon | API token | An administrator who can generate a Pylon API token | Read and write | Reads, updates, and creates help center articles, and publishes changes back to Pylon. | | Atlassian Teamwork Graph | Atlassian API token, ideally a service-account token | An Atlassian administrator who can create a service-account token with read and search access | Read only | Searches your whole Confluence site to find source material across every space the account can access. It never writes back. | The **Discord** card connects with OAuth 2.0. The **DevRev** card uses a DevRev personal access token. The **Pylon** card for support issues uses OAuth 2.0: you sign in with Pylon. The [Integrations overview](/agent/integrations/) lists what each one reads and writes. ## GitHub App permissions [Section titled “GitHub App permissions”](#github-app-permissions) The EkLine GitHub App asks for these repository and organization permissions. GitHub shows the exact set on the install screen before you approve it. | Permission | Access | Why the app needs it | | -------------------- | -------------- | --------------------------------------------------------------------------------------- | | Contents | Read and write | Read repository files for context and commit documentation changes on a new branch. | | Pull requests | Read and write | Read pull request details and open, update, and comment on documentation pull requests. | | Issues | Read and write | Post and update comments, add labels, and react on pull request threads. | | Metadata | Read | Baseline access GitHub requires for every app. | | Organization members | Read | Confirm that a requester belongs to the connected organization. | When you install the app, you give it access to all repositories or only the ones you select. EkLine acts only on the repositories you add under **Where EkLine writes** or **What else EkLine can read**. It writes only to the repositories under **Where EkLine writes**. ## OAuth integration scopes [Section titled “OAuth integration scopes”](#oauth-integration-scopes) For OAuth 2.0 integrations, EkLine asks for the scopes in these tables. The provider lists them on its screen when you connect. The connecting account’s own permissions still limit what the agent can reach. A scope grants a capability. It does not mean the agent uses it in every session. ### Slack [Section titled “Slack”](#slack) Bot-token scopes granted when you install the app on your workspace: | Scope | What it permits | | ----------------------------------- | ------------------------------------------------------------ | | `channels:read`, `channels:history` | List public channels and read their messages. | | `groups:read`, `groups:history` | List private channels the bot is in and read their messages. | | `im:read`, `im:history` | List direct message conversations and read them. | | `mpim:read`, `mpim:history` | List group direct messages and read them. | | `app_mentions:read` | Receive messages that mention the app. | | `metadata.message:read` | Read message metadata. | | `chat:write` | Post messages as the bot. | | `reactions:read`, `reactions:write` | Read and add emoji reactions. | | `files:read`, `files:write` | Read files shared in conversations and upload files. | | `users:read` | Read workspace member profiles. | | `users:read.email` | Read member email addresses. | | `team:read` | Read workspace metadata. | ### Jira [Section titled “Jira”](#jira) | Scope | What it permits | | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `read:jira-work` | Read issues, comments, worklogs, and attachments. | | `write:jira-work` | Create and edit issues, comments, and worklogs. | | `read:jira-user` | Read user profiles and search for users. | | `read:project:jira` | Read project metadata. | | `read:issue-type-scheme:jira` | Read issue-type schemes. | | `read:sprint:jira-software` | Read sprints. | | `read:board-scope:jira-software`, `write:board-scope:jira-software` | Read and modify boards. | | `manage:jira-project` | Administer projects, versions, and components. | | `manage:jira-configuration` | Administer site-level Jira configuration. | | `manage:jira-webhook` | Register and delete webhooks. Jira triggers use this to start a session when a ticket changes. | | `manage:jira-data-provider` | Register a data provider on the site. | | `offline_access` | Keep the connection working after the access token expires. | ### Confluence [Section titled “Confluence”](#confluence) Confluence requests both the current granular scopes and Atlassian’s older classic scopes. | Scope | What it permits | | ---------------------------------------- | ----------------------------------------------------------- | | `read:content:confluence` | Read content across the site. | | `read:content-details:confluence` | Read detailed content information. | | `read:content.metadata:confluence` | Read content metadata. | | `read:page:confluence` | Read pages. | | `read:blogpost:confluence` | Read blog posts. | | `read:folder:confluence` | Read folders. | | `read:custom-content:confluence` | Read custom content. | | `read:attachment:confluence` | Read attachments. | | `readonly:content.attachment:confluence` | Read content attachments. | | `read:comment:confluence` | Read comments. | | `read:template:confluence` | Read templates. | | `read:label:confluence` | Read labels. | | `read:space:confluence` | Read spaces. | | `read:space-details:confluence` | Read space details. | | `read:hierarchical-content:confluence` | Read hierarchical content, such as page trees. | | `search:confluence` | Search content across the site. | | `write:content:confluence` | Create and update content. | | `write:page:confluence` | Create and update pages. | | `write:blogpost:confluence` | Create and update blog posts. | | `write:custom-content:confluence` | Create and update custom content. | | `write:comment:confluence` | Create and update comments. | | `write:label:confluence` | Add and remove labels. | | `write:attachment:confluence` | Upload and update attachments. | | `delete:attachment:confluence` | Delete attachments. | | `read:audit-log:confluence` | Read the audit log. | | `write:audit-log:confluence` | Write to the audit log. | | `read:confluence-content.all` | Read all content (classic scope). | | `read:confluence-content.summary` | Read content summaries (classic scope). | | `read:confluence-space.summary` | Read space summaries (classic scope). | | `write:confluence-content` | Create and update content (classic scope). | | `offline_access` | Keep the connection working after the access token expires. | ### Notion [Section titled “Notion”](#notion) | Scope | What it permits | | ---------------- | --------------------------------------------- | | `read:user` | Read the connected account’s Notion profile. | | `read:content` | Read pages and databases the account can see. | | `write:content` | Create pages and blocks. | | `update:content` | Update existing pages and blocks. | ### Linear [Section titled “Linear”](#linear) | Scope | What it permits | | ----------------- | ------------------------------------------- | | `read` | Read issues, comments, projects, and teams. | | `write` | Create and update Linear resources. | | `issues:create` | Create issues. | | `comments:create` | Create comments. | ### Google Drive [Section titled “Google Drive”](#google-drive) | Scope | What it permits | | ------------------------------------------------ | --------------------------------------------------------------- | | `https://www.googleapis.com/auth/drive` | Full read and write access to the files in the account’s Drive. | | `https://www.googleapis.com/auth/userinfo.email` | Read the account’s email address. | ## Access token and API key scopes [Section titled “Access token and API key scopes”](#access-token-and-api-key-scopes) These integrations connect with a token you create in the provider. You set its scopes and role when you create it. ### GitLab [Section titled “GitLab”](#gitlab) Create a group, project, or personal access token with both of these scopes. For a personal access token, EkLine checks for both and rejects the token if either is missing. | Scope | What it permits | | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `api` | Full read and write API access to repositories, merge requests, and issues, within the token’s role. Docs Agent uses it to read content and open merge requests. | | `read_repository` | Read repository files over HTTPS. | You need the Owner role to create a group access token. The token’s role also limits what it can do. Select the Developer role or higher so the agent can open merge requests in your docs projects. ### PostHog [Section titled “PostHog”](#posthog) PostHog uses a personal API key, not OAuth, so EkLine sets no scope list. You create the key in PostHog and select its scopes there. Then you paste the key and your region into EkLine. The key is only as broad as you make it. Give it the fewest PostHog scopes the agent needs to read insights, run HogQL queries, and read feature flags. ### Pylon [Section titled “Pylon”](#pylon) Pylon uses an API token that an administrator creates in Pylon. The token has the permissions of the Pylon account that created it. The agent reads, updates, and creates help center articles within those permissions. ### Atlassian Teamwork Graph [Section titled “Atlassian Teamwork Graph”](#atlassian-teamwork-graph) Teamwork Graph uses an Atlassian API token, ideally on a service account. Give the account read and search access to only the Confluence spaces the agent should search. The connection is read-only. It searches and reads, and never writes back. ## Webhooks [Section titled “Webhooks”](#webhooks) GitHub and GitLab send events to EkLine over webhooks, so the agent can act on pull requests, merge requests, and comments: * **GitHub** signs each delivery, and EkLine checks the signature before it processes the event. * **GitLab** sends each delivery with the secret token that EkLine creates for your organization. EkLine checks the token before it processes the event. ## Revoking access [Section titled “Revoking access”](#revoking-access) To remove an OAuth connection, revoke it in the provider, or click **Disconnect** on its card under **Settings** > **Integrations** in EkLine. To cut off a token-based integration, revoke the access token or API key in the provider. To remove GitHub access, uninstall the GitHub App from your GitHub organization settings. ## Related pages [Section titled “Related pages”](#related-pages) * [Connect GitHub to EkLine Docs Agent](/agent/github-app-setup/): install the GitHub App and select repositories. * [Connect GitLab to EkLine Docs Agent](/agent/gitlab-setup/): add a scoped access token and configure the webhook. * [Connect Atlassian Teamwork Graph](/agent/teamwork-graph-setup/): add an Atlassian API token for whole-site Confluence search. * [Docs Agent integrations](/agent/integrations/): reference content from each connected source in your prompts. * [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/): let the agent update pages and publish changes back. # Create documentation with Docs Agent > Generate READMEs, API references, and guides with Docs Agent from your codebase, uploaded videos, screenshots, or external sources like Slack and Notion. Use the Docs Agent to write documentation that doesn’t exist yet. It can write from your code, from videos and images you upload, or from content in your connected tools. ## From your codebase [Section titled “From your codebase”](#from-your-codebase) The agent reads your repository’s structure, source files, package configuration, and existing docs, then writes new content from them. ### README files [Section titled “README files”](#readme-files) Generate a README when starting a new project or updating an outdated one. ```text Generate a README for this repository. Include: - Project overview and key features - Installation with npm and yarn - Quick start example - Configuration options - Contributing guidelines ``` **Tips:** * Mention specific sections you need. * Reference example code: `"Include examples similar to /examples"` * Specify the audience: `"Write for developers familiar with React"` ### API reference [Section titled “API reference”](#api-reference) Document endpoints, functions, or modules from your source code. ```text Document the authentication endpoints in src/api/auth.ts. Include request parameters, response schema, example requests, and error codes. ``` The agent extracts and documents: * Endpoint URLs and HTTP methods * Request parameters with types and descriptions * Response schema with field descriptions * Example request and response bodies * Error responses and status codes ### How-to guides [Section titled “How-to guides”](#how-to-guides) Create task-oriented guides for common workflows. ```text Create a how-to guide for setting up local development. Cover environment setup, database configuration, and running the test suite. ``` ### Getting started guides [Section titled “Getting started guides”](#getting-started-guides) Help new users or contributors get up and running. ```text Write a getting started guide for new contributors. Include repo setup, coding standards, and how to submit a pull request. ``` ## From video uploads [Section titled “From video uploads”](#from-video-uploads) Upload product demos, tutorials, or walkthroughs. The agent transcribes the video and writes docs from what it sees and hears. ### How it works [Section titled “How it works”](#how-it-works) 1. Click the attachment icon in the chat panel. 2. Select your video file. 3. Wait for processing. Transcription may take a few minutes. 4. Describe what documentation you need. ### Example prompts [Section titled “Example prompts”](#example-prompts) * Tutorial from demo ```text Create a step-by-step tutorial from this product demo. Include descriptions of each screen and action shown. ``` * Feature overview ```text Write a feature overview document based on this walkthrough video. Focus on the key capabilities demonstrated. ``` * Release notes ```text Generate release notes from this demo of new features. Summarize each feature shown for end users. ``` ## From screenshots and images [Section titled “From screenshots and images”](#from-screenshots-and-images) Upload screenshots, diagrams, or other images, and the agent adds them to your docs. ![Docs Agent drafting a documentation page from an uploaded image in the chat panel](/assets/images/docs-agent-image-upload.png) ### How it works [Section titled “How it works”](#how-it-works-1) 1. Click the attachment icon in the chat panel. 2. Select your image file. 3. Describe where and how you want the image placed. 4. The agent downloads the image into your repository and adds a markdown reference. The agent can see what the image shows, so it can write alt text and captions for it. ### Example prompts [Section titled “Example prompts”](#example-prompts-1) * Insert screenshot ```text Insert this screenshot into the getting started guide after the installation section. Add a caption describing what the user should see. ``` * Add diagram ```text Add this architecture diagram to the overview page. Place it after the "How it works" section. ``` * Multiple images ```text Add these screenshots to the deployment guide. Place each one next to the step it illustrates. ``` ## From external sources [Section titled “From external sources”](#from-external-sources) Write docs from content in your connected tools. See [Integrations](/agent/integrations) to connect them. ### From Slack threads [Section titled “From Slack threads”](#from-slack-threads) Turn support conversations and team discussions into docs. ```text Create a troubleshooting guide based on this Slack thread: https://workspace.slack.com/archives/C01234/p1234567890 ``` The agent reads the conversation, finds the problem and the fix, and writes them up as a doc. For the full Slack bot workflow, see [Turn a Slack support thread into a troubleshooting doc](/agent/slack-thread-to-troubleshooting-doc/). ### From Notion pages [Section titled “From Notion pages”](#from-notion-pages) Turn product specs, design docs, or meeting notes into docs for your users. ```text Create API documentation based on the spec in this Notion page: https://notion.so/your-workspace/api-spec-page ``` ### From Confluence pages [Section titled “From Confluence pages”](#from-confluence-pages) Pull specs or internal notes into your docs. ```text Create a deployment guide based on the runbook in this Confluence page: https://your-org.atlassian.net/wiki/... ``` ### Release notes from tickets [Section titled “Release notes from tickets”](#release-notes-from-tickets) Generate changelogs from completed Linear or Jira tickets. ```text Generate release notes for v2.1 based on Linear tickets ENG-100 through ENG-110. Organize by Features, Improvements, and Bug Fixes. Write for end users. ``` The agent reads each ticket’s title, description, and comments, and sums up each one for your users. ## Tips for better output [Section titled “Tips for better output”](#tips-for-better-output) ## Next [Section titled “Next”](#next) * [Create documentation from a demo video](/agent/create-docs-from-video/): turn a whole walkthrough into a written guide. * [Capture screenshots from a video or browsing recording](/agent/screenshots-from-video/): put a frame from a recording into a page. * [Generate an API reference from your codebase](/agent/generate-api-reference/): build reference pages from your source code. * [Update and review documentation](/agent/update-review/): change pages that already exist. # Create documentation from a demo video > Upload a product demo or walkthrough video and use Docs Agent to turn it into a review-ready guide in a pull request. Turn a product demo video into written documentation. You upload a walkthrough, and Docs Agent transcribes it and reads what happens on screen. You guide the agent to a step-by-step guide that matches your existing docs, then open it as a pull request for review. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * A repository [connected to EkLine](/agent/github-app-setup/) where the documentation lives. * A demo or walkthrough video that shows the feature you want to document. Your video must meet these limits: | Requirement | Value | | ------------ | ------------------------- | | Formats | MP4, WebM, MOV, AVI, MPEG | | Maximum size | 500 MB | ## Step 1: Prepare your demo video [Section titled “Step 1: Prepare your demo video”](#step-1-prepare-your-demo-video) A clear video produces a clear draft. Before you upload, check the following: * **Narrate the important actions.** The agent transcribes the audio, so spoken explanations become part of the source material. * **Move at a steady pace.** Pause briefly on each screen so each action is clear in the recording. * **Trim dead air.** Cut long silences or unrelated tangents to keep the transcription focused. * **Confirm the format and size.** Export as MP4, WebM, MOV, AVI, or MPEG, and keep the file under 500 MB. A three-to-ten-minute screen recording with narration works well for a single feature. ## Step 2: Open a session [Section titled “Step 2: Open a session”](#step-2-open-a-session) 1. Sign in to the [EkLine app](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. ![The Docs Agent editor with the chat panel ready for a prompt](/assets/images/docs-agent-editor.png) ## Step 3: Upload your video [Section titled “Step 3: Upload your video”](#step-3-upload-your-video) 1. Click the attachment icon in the chat panel. 2. Select your video file. 3. Wait for the upload to finish. The video appears as an attachment in the chat panel once the upload finishes. ## Step 4: Describe the documentation you want [Section titled “Step 4: Describe the documentation you want”](#step-4-describe-the-documentation-you-want) Tell the agent what to build from the video. Naming the document type and audience keeps the output focused. * Step-by-step tutorial ```text Create a step-by-step tutorial from this product demo. Describe each screen and action shown, and write it for a new user trying the feature for the first time. ``` * Feature overview ```text Write a feature overview based on this walkthrough video. Focus on the key capabilities demonstrated and who they help. ``` * Release notes ```text Generate release notes from this demo of new features. Summarize each feature shown for end users. ``` To match your existing docs, point the agent at a similar page: ```text Create a step-by-step tutorial from this demo video. Match the structure and tone of docs/tutorials/getting-started.md. ``` When you send the message, the agent first transcribes the video and reads what happens on screen, which can take a few minutes for a longer recording. It then drafts the guide in the editor panel. ## Step 5: Review the draft [Section titled “Step 5: Review the draft”](#step-5-review-the-draft) Read the draft in the editor panel and check it against the video: * The steps follow the same order as the demo. * Screen names, button labels, and menu paths match what the video shows. * The guide covers every action you demonstrated, with nothing invented. Refine anything that is off by replying in the chat. For example: ```text Add a verification step after the install section that tells the reader what a successful setup looks like. ``` The agent updates the draft in place. Repeat until the guide reads the way you want. ## Step 6: Publish as a pull request [Section titled “Step 6: Publish as a pull request”](#step-6-publish-as-a-pull-request) 1. Enable **View All Changes** to see a diff of what the agent created. 2. Click **Raise PR** to open a pull request with the new guide. 3. The chat box fills with `Open a pull request for` and your repository’s name. Press **Enter** to send it, or edit it first to add instructions. The agent opens the pull request and replies in the chat with a link where you continue the review on GitHub. ## Verify [Section titled “Verify”](#verify) Confirm the tutorial worked end to end: * [ ] The uploaded video appears as an attachment in the chat panel. * [ ] The editor panel shows a drafted guide that follows the demo. * [ ] A pull request is open on your connected repository with the new file. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Upload is rejected | Check that the file is under 500 MB and in a supported format (MP4, WebM, MOV, AVI, MPEG). | | The agent takes a long time to respond | The agent transcribes the video after you send your message, and a longer video takes longer. Wait a few minutes, or trim the recording before you upload it. | | The draft misses steps shown in the video | Narrate the missing actions in the recording, or describe them in a chat reply so the agent adds them. | | Screen labels in the draft are wrong | Reply in the chat with the correct label and ask the agent to fix it. Attaching a screenshot of the screen helps. | ## Next steps [Section titled “Next steps”](#next-steps) * [Create documentation](/agent/create/): generate docs from your codebase, screenshots, and external sources. * [Update and review documentation](/agent/update-review/): keep the guide in sync as the feature changes. * [Generate an API reference](/agent/generate-api-reference/): turn source code into reference documentation. # Custom instructions > Write standing instructions for the Docs Agent or the Marketing Agent. Each agent reads only its own, in every new session. Custom instructions are standing guidance you write once for your organization, such as spelling, terminology, voice or audience, and an agent follows them in every new session. Each agent has its own custom instructions, and each agent sees only its own: | Agent | Where you set them | Sessions they reach | | --------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Docs Agent | **Settings** > **Docs Agent** > **Custom instructions** | Every new Docs Agent session: started in the editor, from a [GitHub pull request](/agent/github-integration/), a [GitLab merge request](/agent/gitlab-integration/), [Slack](/agent/slack-bot/), Discord, a Jira ticket, a Journeys report, an [MCP client](/agent/mcp/), or an [automation](/agent/scheduled-agents/) | | Marketing Agent | **Settings** > **Marketing Agent** > **Custom instructions** | Every new Marketing Agent session, started in the editor, from an MCP client, from a Journeys report, or by an [automation](/agent/scheduled-agents/) that runs as the Marketing Agent | The Docs Agent never reads the Marketing Agent’s instructions, and the Marketing Agent never reads the Docs Agent’s. To give both agents the same guidance, write it in both places, or put facts about your company in [Company Profile](/agent/company-profile/), which both agents can read. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * Any member of your organization can edit custom instructions. ## Steps [Section titled “Steps”](#steps) 1. Open the settings for the agent: * Docs Agent: **Settings** > **Docs Agent** > **Custom instructions** * Marketing Agent: **Settings** > **Marketing Agent** > **Custom instructions** 2. Write your guidance in the field (**Custom Instructions** for the Docs Agent, **Marketing Agent custom instructions** for the Marketing Agent). The field holds up to 20,000 characters, and the counter below it shows how many you have used. 3. Click **Save custom instructions**. The message **Saved. It applies to sessions started from now on.** confirms the save. Your instructions apply to every session started after you save. There is nothing else to do: no refresh, no sync. A session that is already open keeps the instructions it started with. ## What to include [Section titled “What to include”](#what-to-include) Write custom instructions the way you would brief a new writer joining your team. Focus on what the agent can’t get from your code, docs or company profile. For the Docs Agent: * **Style preferences.** Spelling, capitalization, and voice. For example, `"Use American English spelling and sentence case for headings."` * **Terminology.** Terms to prefer or avoid. For example, `"Refer to the product as Acme, never ACME or acme."` * **Documentation structure.** How your docs are organized. For example, `"Place how-to guides in docs/guides and reference material in docs/reference."` * **Versions and audience.** Which versions to document and who reads the docs. For example, `"Document v2 of the API only. Write for backend developers familiar with REST."` For the Marketing Agent: * **Voice and person.** For example, `"Write in the first person plural."` * **How posts open and close.** For example, `"Open blog posts with the problem, not the product."` * **Words and claims to avoid.** For example, `"Never call a feature new unless it shipped this quarter."` The Marketing Agent takes tone, person, formality and names from its custom instructions together with the **Tone and Voice** and **Brand names** fields in [Company Profile](/agent/company-profile/). ### Examples [Section titled “Examples”](#examples) * Docs: style and terminology ```text Use American English spelling and sentence case for headings. Refer to the product as Acme. Use "sign in" as a verb and "sign-in" as an adjective. Write in the second person and active voice. ``` * Docs: structure and audience ```text Follow the Diataxis framework: tutorials, how-to guides, reference, and explanation each live in their own folder. Write for developers new to Kubernetes. Document v2 of the API only. ``` * Marketing: voice ```text Write in the first person plural. Open blog posts with the problem, not the product. Keep sentences short. Name Hooli only when a source compares us directly. ``` To describe what one repository is for, add a [repository note](/agent/reference-documents/) instead. For a comparison of every setting, see [Which setting to use](/agent/which-setting-to-use/). ## How custom instructions relate to style learning [Section titled “How custom instructions relate to style learning”](#how-custom-instructions-relate-to-style-learning) For the Docs Agent, custom instructions work alongside its automatic style learning. It still analyzes your existing documentation for heading structure, code example conventions, terminology, and file organization. Custom instructions add the context the agent can’t infer from your docs. For more on how the agent learns your style, see [How does the agent know my documentation style?](/agent/reference/#how-does-the-agent-know-my-documentation-style) in the reference. ## Check it worked [Section titled “Check it worked”](#check-it-worked) 1. Start a new session with the agent whose instructions you changed. 2. Ask for something your instructions affect. For example, ask the Docs Agent to `"Generate a README for this repository."`, or ask the Marketing Agent for a short LinkedIn post. 3. Check the draft against your instructions: spelling, heading case, terminology, voice and structure. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### A Custom instructions tab isn’t there [Section titled “A Custom instructions tab isn’t there”](#a-custom-instructions-tab-isnt-there) If you don’t see **Settings** > **Docs Agent** > **Custom instructions** or **Settings** > **Marketing Agent** > **Custom instructions**, contact **** with your organization name. ### The agent ignores an instruction [Section titled “The agent ignores an instruction”](#the-agent-ignores-an-instruction) * Check that you saved the instruction in the settings for the agent you are using. Each agent reads only its own. * Start a new session. A session that was already open keeps the instructions it started with. * Make the instruction more specific and concrete. Short, direct instructions work better than long, general ones. * For a long convention, point to a file in your repository instead of describing it inline. ## Next [Section titled “Next”](#next) * [Company Profile and Domains](/agent/company-profile/): Describe your company once for both agents. * [Reference documents and repository notes](/agent/reference-documents/): Upload documents and describe each repository. * [Skills](/agent/custom-skills/): Turn a procedure your team repeats into a command anyone can run. * [Which setting to use](/agent/which-setting-to-use/): Compare every way to give the agents context. # Package a workflow as a skill > Author a Docs Agent skill so your team can run a repeatable documentation workflow with a slash command. A skill packages a **workflow your team repeats**, such as your release-notes procedure, your API-reference checklist, or the steps you follow to turn a support thread into a troubleshooting doc, so anyone can run it in a session by typing a slash command. Each skill has three parts: a **name**, a description of **when to use it**, and the **instructions** the agent follows. You write it once for your organization, and both agents, the Docs Agent and the Marketing Agent, can use it in every new session. You run it on demand by typing its command, and the agent also reaches for it on its own when a task matches the skill’s description. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled * At least one repository [connected to EkLine](/agent/github-app-setup/) Any member of your organization can create and edit skills. ## Create a skill [Section titled “Create a skill”](#create-a-skill) 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Go to **Settings** > **Docs Agent** > **Skills**. 3. Click **Add skill**. 4. In the **Name** field, enter a short name for the workflow, such as `Release notes checklist`. As you type, the hint under the field shows the slash command you use to run the skill, for example `/release-notes-checklist`. You can enter up to 100 characters. 5. In the **When to use it** field, describe the situations the skill applies to, such as `Use when preparing release notes for a new product version.` The agent reads this to decide when to reach for the skill on its own, so be specific. You can enter up to 1,000 characters. 6. In the **Instructions** field, write the steps the agent should follow, in order. You can enter up to 50,000 characters. 7. Click **Save skill**. EkLine adds the skill to your list, where its command appears next to its name. The skill applies to every new session your organization starts after you save it. A session that is already open doesn’t pick up a skill you create or change. You can start a session in the editor or trigger the skill from a [GitHub pull request](/agent/github-integration/), [GitLab merge request](/agent/gitlab-integration/), or [Slack](/agent/slack-bot/). ### How the command is named [Section titled “How the command is named”](#how-the-command-is-named) The agent runs your skill when you type its slash command. EkLine builds the command from the skill’s name: it lowercases the name, turns accented letters into plain ones, replaces spaces and punctuation with hyphens, and keeps the first 60 characters. There is no prefix. `Release notes checklist` becomes `/release-notes-checklist`. EkLine rejects two kinds of name, because a built-in skill would take the command instead of yours: * A name whose command starts with `/ekline-`. That prefix is reserved for EkLine’s built-in skills. * A name whose command matches one of EkLine’s built-in commands. Because the command follows the name, renaming a skill changes its command. Tell your team when you rename one they use. ## Write effective instructions [Section titled “Write effective instructions”](#write-effective-instructions) Write instructions the way you’d hand a runbook to a teammate doing the task for the first time. The agent has your repositories, your [custom instructions](/agent/custom-instructions/), and its connected integrations available while it works. Your skill supplies the procedure to follow. * **Number the steps.** Order the work so the agent moves from gathering sources to drafting to review. * **Name your sources.** Point the agent at the files, integrations, or pages each step draws on. * **State the output.** Describe the document to produce, where it belongs, and the format it follows. * **Set the guardrails.** Call out what to include, what to leave out, and when to stop and ask. - Release notes ```text Draft release notes for the version the user names. 1. Read the merged pull requests since the last release tag. 2. Group the changes into Added, Changed, Fixed, and Removed. 3. Write one user-facing sentence per change in our house style. 4. Open the release notes page and add the new version at the top. 5. Leave internal refactors and dependency bumps out. ``` - API reference check ```text Check that our API reference matches the code. 1. Read the endpoint definitions in the api-gateway repository. 2. Compare each one against its entry in docs/reference/api. 3. Flag endpoints that are missing, renamed, or have changed parameters. 4. Draft the updates and list every change you made. ``` ## Run a skill [Section titled “Run a skill”](#run-a-skill) 1. Open the editor and start a new session. 2. Type the skill’s command, for example `/release-notes-checklist`, and add any detail the workflow needs, such as the version to document. 3. The agent follows your instructions and reports what it did. You don’t have to type the command every time. The agent reads each skill’s **When to use it** description and can choose a skill when your request matches. Ask for release notes in plain language, and the agent applies your release-notes skill. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The **Skills** tab lists the skill with its command next to its name, and its toggle is on. * In a new session, typing the command makes the agent follow your steps. ## Manage your skills [Section titled “Manage your skills”](#manage-your-skills) The **Skills** tab lists every skill your organization has, with its name, its command, and its **When to use it** description. To see a skill’s instructions, click its edit icon. This tab is the only place to see what a skill contains: the editor has no list of skills, and EkLine’s built-in skills are not listed anywhere in the app. For each skill, you can: * **Edit**: Click the edit icon to change the name, description, or instructions, then click **Save skill**. * **Enable or disable**: Use the toggle to enable or disable a skill. A disabled skill stays in your list but doesn’t reach new sessions, so its command doesn’t run. Disable a skill while you’re revising it, or to retire it without losing the instructions. * **Delete**: Click the delete icon to remove a skill. It disappears from your next session. ## How skills relate to custom instructions [Section titled “How skills relate to custom instructions”](#how-skills-relate-to-custom-instructions) Skills and [custom instructions](/agent/custom-instructions/) solve different problems, and most organizations use both: * **Custom instructions** shape *how* the agent writes (spelling, terminology, repository context) and apply to every session automatically. * **Skills** package *a workflow you repeat*: a named procedure you run on demand with a command, or that the agent runs when the task matches. Put a convention that should hold across all writing in custom instructions. Put a multi-step task you run again and again into a skill. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### The Skills tab isn’t available [Section titled “The Skills tab isn’t available”](#the-skills-tab-isnt-available) If you don’t see **Settings** > **Docs Agent** > **Skills**, contact **** with your organization name. ### The agent doesn’t run the skill [Section titled “The agent doesn’t run the skill”](#the-agent-doesnt-run-the-skill) * Confirm the skill is enabled. A disabled skill doesn’t reach new sessions. * Start a new session. Skills apply only to sessions started after you save. * Check the command. Type it exactly as it appears next to the skill’s name. ### The agent runs the wrong skill, or none, from a plain-language request [Section titled “The agent runs the wrong skill, or none, from a plain-language request”](#the-agent-runs-the-wrong-skill-or-none-from-a-plain-language-request) The agent chooses a skill by matching your request against each skill’s **When to use it** description. Make the description more specific about when the skill applies, or type the command directly to run the skill you want. ## Next steps [Section titled “Next steps”](#next-steps) * [Custom instructions](/agent/custom-instructions/): Add custom instructions that apply to every session. * [Automations](/agent/scheduled-agents/): Run documentation tasks on a recurring schedule. * [Docs Agent reference](/agent/reference/): Supported file types, limits, and FAQ. # Docs Agent Discord bot > Start documentation drafts from Discord by mentioning EkLine in a server thread and reading the reply in the same thread. Create documentation without leaving Discord. Mention the EkLine bot in any channel or thread on a connected server, and Docs Agent replies in the same thread with a draft you can review and edit in EkLine. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) Before you begin, you need: * An EkLine organization account. * Discord server administrator access to authorize the app. ## Connect your Discord server [Section titled “Connect your Discord server”](#connect-your-discord-server) 1. Go to **Settings > Integrations** in your EkLine dashboard. 2. Find **Discord** in the integrations list. 3. Click **Connect**. 4. On the Discord page that opens, authorize EkLine to access your Discord server. 5. Select the server to connect, then complete the authorization flow. Discord returns you to EkLine. 6. Verify the integration shows as **Connected**. Once connected, anyone in the server can mention the EkLine bot to start a draft in your EkLine organization. ## Create documentation from Discord [Section titled “Create documentation from Discord”](#create-documentation-from-discord) 1. In any channel or thread on the connected server, mention the EkLine bot followed by your request. ```text @EkLine create a troubleshooting guide based on this discussion ``` 2. Read the acknowledgment. The bot confirms it has your request, then works on the draft. It posts no progress updates, only the finished answer. 3. Read Docs Agent’s reply in the same thread. Long answers arrive as more than one message because Discord limits the length of a single message. ## Review and edit in EkLine [Section titled “Review and edit in EkLine”](#review-and-edit-in-ekline) Each Discord mention starts a Docs Agent session in the EkLine app. Open it to review the draft, refine it, and open a pull request. To find it, filter the session list by the **Discord** source. See [Find your sessions](/agent/find-sessions/). ## Context the bot captures [Section titled “Context the bot captures”](#context-the-bot-captures) | Context type | What the bot captures | | --------------- | ------------------------------------------------------- | | Thread messages | Up to the last 20 messages in the thread. | | Your request | The text of your mention, with the bot mention removed. | ## Write effective prompts [Section titled “Write effective prompts”](#write-effective-prompts) The quality of your prompt determines the quality of the output. | Instead of… | Try… | | ---------------- | ------------------------------------------------------------------------- | | “help with docs” | “Create a troubleshooting guide for the API timeout issue discussed here” | | “document this” | “Write a how-to guide for the workaround Sarah described” | | “make docs” | “Update the authentication docs based on the new flow we agreed on” | **Include specific details:** * Reference the type of documentation you need: tutorial, how-to guide, reference, troubleshooting. * Name specific topics or features from the conversation. * Mention existing documentation to update if applicable. * Point to URLs or ticket IDs for more context. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The bot posts an acknowledgment in the thread, and later Docs Agent’s reply. * The session appears under **Sessions** in the EkLine app. Filter by **Source** > **Discord** to find it. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | | Bot replies that it works inside servers connected to EkLine | You mentioned it in a direct message. Mention the bot in a channel or thread on a connected server. | | “This server isn’t connected to EkLine” | Ask a server administrator to connect the server in **Settings > Integrations**. | | “This server is connected, but its EkLine organization has no API token” | Contact ****. | | “I couldn’t reach EkLine just now” | Wait a moment and mention the bot again. | | Reply arrives as several messages | Discord limits message length. Read the messages in order. | | Draft does not match expectations | Give more specific instructions in your mention. Include the documentation type and key topics to cover. | ## Next steps [Section titled “Next steps”](#next-steps) * [Docs Agent Slack bot](/agent/slack-bot/): Create documentation drafts from Slack channels and threads. * [Find your sessions](/agent/find-sessions/): Open, filter, and manage every Docs Agent session, including sessions started from Discord. * [Create documentation](/agent/create/): Generate READMEs, API references, and guides from your codebase. * [Integrations](/agent/integrations/): Connect Notion, Linear, Jira, and other tools. # Crop, redact, and annotate documentation images > Use Docs Agent to make a raw screenshot publishable: crop it to the element it shows, cover personal information, and add highlights, arrows, and callouts. Ask Docs Agent to crop a documentation image to what the page is about, cover information that must not reach public documentation, or mark up the part of the interface your prose refers to. You can ask for each edit on its own or combine them in a single pass. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * A repository [connected to EkLine](/agent/github-app-setup/) that holds both your documentation pages and their image files. * At least one image the agent can reach as a file. That means an image already committed to your connected repository, one the agent captured itself from a [sandbox](/agent/sandbox/), or a frame it [extracted from a video](/agent/screenshots-from-video/). The agent edits PNG and JPEG files. It leaves vector images such as SVG untouched. ## Crop an image to what it shows [Section titled “Crop an image to what it shows”](#crop-an-image-to-what-it-shows) Cropping an image to the element it shows is the edit that helps most screenshots. 1. Open the Docs Agent editor and start a new session. 2. Name the image and what it should show: ```text Crop the screenshot in our billing guide so it shows only the Payment method panel, not the whole page. ``` 3. Select the edited image’s tab in the editor to review it. The image renders in the editor panel, and you can click it to open it full size. 4. Click **Raise PR** to open a pull request with the cropped image. The button fills the chat box with a message. Send it, and the agent opens the pull request. The agent matches the padding, width, and light or dark theme of the images already beside it on the page, so a recropped image doesn’t stand out from its neighbors. It cuts what doesn’t illustrate the point, such as unrelated sidebars, panels, and toolbars, while keeping the page header or navigation item a reader needs to orient. ## Hide personal information [Section titled “Hide personal information”](#hide-personal-information) Screenshots taken in a real account show real data: names, email addresses, phone numbers, billing details, API tokens, and faces. Hide it before the image reaches public docs. 1. Tell the agent which image and what to hide: ```text The dashboard screenshot in our getting-started guide shows a real customer's name, email, and account ID. Hide those before we publish it. ``` 2. Tell the agent whether the fields should look empty or hold sample data. Use sample data where a filled-in field is part of what the image teaches. An empty field is fine for an input that would show placeholder text: ```text Replace them with sample data rather than leaving the fields empty. ``` 3. Review each covered region in the result. Confirm nothing readable remains, including partial text at the edge of a box and the same value repeated elsewhere in the image, such as an email that also appears in a header. Covering is not blurring The agent covers information with a solid, opaque fill. It doesn’t blur or pixelate it, because blurred and pixelated text can be recovered. A blur is acceptable only on a real person’s face, where no text is at risk, and even there the agent prefers a solid placeholder. If the agent cannot fully cover a region, such as text that runs under a graphic, it still delivers the image. It flags the problem in its summary and in the pull request. Read that warning before you merge. ## Add a highlight, arrow, or numbered callout [Section titled “Add a highlight, arrow, or numbered callout”](#add-a-highlight-arrow-or-numbered-callout) Use annotations when a step refers to one control on a crowded screen. 1. Describe what to mark and how: ```text In the settings screenshot, outline the Save button and add an arrow pointing at the Advanced options toggle. ``` 2. For an interface with several parts, ask for numbered markers and refer to those numbers in your text: ```text Add numbered markers to the editor screenshot: 1 on the file tree, 2 on the chat panel, 3 on the preview pane. ``` 3. Review the placement. The agent matches the shape and accent color of annotations on the sibling images beside it, so a new image looks like it belongs. The agent puts markers on the image, not text. Explain each marker in your prose: text drawn on an image can’t be found by site search, read by screen readers, or translated. Annotations are repeatable. Asking for the same highlight twice doesn’t stack two outlines on top of each other. ## Combine edits in one pass [Section titled “Combine edits in one pass”](#combine-edits-in-one-pass) Ask for several edits together, and the agent applies them in a safe order: cover information first, annotate second, crop last. ```text Take the account settings screenshot in our onboarding guide: hide the customer's name and email, highlight the Notifications toggle, and crop it to the settings panel. ``` ## What the agent changes and what it leaves alone [Section titled “What the agent changes and what it leaves alone”](#what-the-agent-changes-and-what-it-leaves-alone) | The agent | Detail | | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Writes to the image’s existing path | The edited image replaces the file your page already references, so no link needs updating | | Leaves your repository untouched until you merge | The change arrives as a pull request you review, like any other documentation change | | Matches its neighbors | Padding, width, theme, annotation shape, and accent color follow the sibling images beside it | | Asks when a value might be real | In a session, if it can’t tell whether a name or number is genuine or sample data, it asks you. An unattended run covers the value instead of asking | | Leaves prose alone | It edits pixels only. For documentation that describes the interface incorrectly in text, use [Update and review](/agent/update-review/) | | Skips vector images | SVG diagrams and logos stay untouched | | Follows your call in a session | Whether an image needs cropping, covering, or annotating is yours to decide: a capture from a demo account often needs none of it. A scheduled run given no instruction defaults to making the image publishable | ## Verify the result [Section titled “Verify the result”](#verify-the-result) Before you merge the pull request: * [ ] Every covered region is fully opaque, with no readable text at its edges. * [ ] No value you asked to hide survives elsewhere in the same image. * [ ] The cropped image still shows enough context for a reader to locate the element in the live product. * [ ] Annotations point at the controls your prose names, and the numbering matches your steps. * [ ] The image sits comfortably beside the others on the page in width and theme. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The agent says it can’t find the image | Give it the path or the page that references the image. An image you attached to a chat message isn’t a file the agent can edit. Commit it to your repository first. | | Nothing happened to an SVG | Cropping and covering are raster operations. Export the diagram to PNG, or edit the SVG source directly. | | The edit covered too much or too little | Describe the region by what it contains rather than by position: “the panel with the Save button”, not “the top right”. | | Text is still faintly visible | Ask the agent to extend the covered area past every edge of the text. Report any region it says it couldn’t fully cover. | | The new image looks different from the others on the page | Name the image you want it to match: “make it the same width and theme as the other screenshots in this guide”. | | The screenshot you captured shows test data you don’t want published | Point the [sandbox](/agent/sandbox/) at an account with presentable data and recapture, rather than covering every field afterward. | ## Next steps [Section titled “Next steps”](#next-steps) * [Keep documentation screenshots up to date](/agent/refresh-doc-screenshots/): recapture stale images automatically, on demand and on a schedule. * [Browse authenticated pages with a sandbox](/agent/sandbox/): give the agent the sign-in variables it needs to capture pages behind a login. * [Capture screenshots from a video](/agent/screenshots-from-video/): turn a moment in a recording into a documentation image. * [Manage a knowledge base](/agent/manage-knowledge-base/): add and replace images on Confluence pages. # Work in the editor > Start a Docs Agent or Marketing Agent session, review what the agent drafts, and send the result on as a pull request or a copy. The editor is where you give the Docs Agent or the Marketing Agent a task, review what it drafts, and send the result on. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * For Docs Agent pull requests, a documentation repository connected through [GitHub](/agent/github-app-setup/) or [GitLab](/agent/gitlab-setup/). ## Steps [Section titled “Steps”](#steps) 1. **Start a session.** Click **New session** at the top of the sidebar. On the **Docs** or **Marketing** tab it opens that agent, and on **Home** the agent you last started a session with in this browser. If the composer shows **Docs** and **Marketing**, select the agent you want. You can also type into **Start a conversation** on the **Dashboard**. If you have both agents, select **Docs** or **Marketing** there first. 2. **Describe the work.** Type the request and send it, for example `Add a section on webhook retries to docs/webhooks.md` for the Docs Agent, or `Write a blog post about our new audit log` for the Marketing Agent. A button under the composer, such as **Draft a how-to guide** or **Write a blog post**, puts its opening words in the composer for you to finish; it does not send. To add files, click the attachment icon. The agent asks in the chat for anything else it needs. See [Marketing Agent](/marketing-agent/). 3. **Review the drafts.** See [Review changes](#review-changes). 4. **Send the result on.** See [Send the result on](#send-the-result-on). To return to an earlier session, see [Find a past session](/agent/find-sessions/). ### What the editor shows [Section titled “What the editor shows”](#what-the-editor-shows) Until the agent writes a file, the chat fills the page. Then the editor panel opens on the left, with one tab per file, and the chat moves to the right. The **Home**, **Docs**, and **Marketing** tabs above the **Sessions** list appear when your organization has both agents. Once files exist, shortcuts under the chat box, such as **Fact Checker** for the Docs Agent or **Claims check** for the Marketing Agent, add a ready-made request to the box without sending it. Select text in a draft that is not in review and it is attached to your next message, so you can ask about that passage. ### Review changes [Section titled “Review changes”](#review-changes) When a turn changes a file that already existed, the file opens in review. A **Reviewing changes** banner offers **Accept All** and **Reject All**, and each change has its own check mark (**Accept change**) and cross (**Reject change**). A file the agent created from nothing opens ready to edit. Edit drafts directly; your edits save automatically. In the Docs Agent, switch on **View All Changes** to see every change in the session against the repository. ### Send the result on [Section titled “Send the result on”](#send-the-result-on) | Agent | Control | What it does | | --------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Docs Agent | **Raise PR** | Fills the chat box with `Open a pull request`. Press Enter, or add instructions first. Grayed out with “No changes to create a PR” until the session has changes. | | Docs Agent | **View PR #N** | Replaces **Raise PR** once the pull request is open. A badge shows **Open**, **Draft**, **Closed**, or **Merged**. | | Docs Agent | **Update PR** | Appears when the session has changes the open pull request does not, and no file is in review. Fills the chat box with a request to push them. | | Docs Agent | **Update KB** | Replaces **Raise PR** for drafts in a connected knowledge base, and publishes the edits back to it. | | Docs Agent | **Linked PRs** | Replaces the single button when a session changes several repositories, with an action for each. | | Marketing Agent | **Copy** | Copies the open draft. | | Marketing Agent | **Download** | Saves Markdown, or HTML from the arrow beside it. Several drafts, or drafts with images, download as one ZIP file. | The Marketing Agent has no **Raise PR**: to put a draft in a documentation repository, ask it in the chat. For what a Docs Agent pull request contains, see [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). ### Control the agent while it works [Section titled “Control the agent while it works”](#control-the-agent-while-it-works) | Button | When | What it does | | ------ | ------------------------------------------------- | -------------------------------------- | | Send | The agent is idle | Sends your message. | | Stop | The agent is working and the box is empty | Stops the current turn. | | Queue | The agent is working and you have typed a message | Holds the message until the turn ends. | A queued message shows **Queued · click to edit**. Click it to edit, or its cross to cancel. When the turn ends, queued messages are sent together. ### Watch the agent browse [Section titled “Watch the agent browse”](#watch-the-agent-browse) When the agent opens a browser, for example to capture a screenshot, a read-only panel opens at the bottom right. Its header reads **Live browser** while the agent browses and **Recording** when the panel replays the session afterward. You can move, resize, hide, or close it. To let the agent reach pages behind a sign-in, set up a [Sandbox](/agent/sandbox/). ## Check it worked [Section titled “Check it worked”](#check-it-worked) * Your session appears under **Sessions** in the sidebar. * In a Docs Agent session, the toolbar shows **View PR #N** after the agent opens the pull request. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | What to do | | -------------------------------------------- | -------------------------------------------------------------- | | **Update PR** does not appear after you edit | A file is still in review. Accept or reject its changes first. | ## Next [Section titled “Next”](#next) * [Ship your first docs pull request](/agent/getting-started/) * [Start work from Jira tickets](/agent/jira-triggers/) * [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/) # Find a past session > Search your Docs Agent history by keyword or paste a link to find and resume any session. Every prompt you send Docs Agent runs in a session. Search finds any session in your organization’s history, including work you never turned into a pull request, so you can pick up where you left off. You can find a session two ways: * **Search by keyword:** match on what was said in the conversation. * **Paste a link:** jump from a pull request, merge request, or ticket to the session behind it. You can also [filter the sessions list](#filter-the-sessions-list) by source or status. ## Open search [Section titled “Open search”](#open-search) 1. Open the editor. The **Sessions** section in the sidebar lists your sessions. 2. Press `⌘K` (`Ctrl+K` on Windows and Linux) to open search, or click the **Search sessions** button at the top of the sidebar. 3. Type your query. Results open in a focused view centered on the page. The **Sessions** list stays as it is while you search. Results appear in the focused view, not by filtering the list underneath. To close the view, press **Escape**, click outside it, or select a result. Your query stays in the search field so you can refine it. ## Search by keyword [Section titled “Search by keyword”](#search-by-keyword) Type at least three characters to search. Search matches your query against: * The session title * The title of the documentation pull request the session produced * The conversation: both your messages and the agent’s replies Results are ranked best match first. Each result shows the session title and a snippet of the matching text, with the matched words highlighted. An attribution label tells you where the match came from: | Label | Meaning | | ----------------- | ------------------------------------------- | | **you asked** | The match is in one of your messages. | | **agent replied** | The match is in one of the agent’s replies. | Select a result to open that session in the editor. ## Find a session from a link [Section titled “Find a session from a link”](#find-a-session-from-a-link) Paste a URL into the search field to find the session it relates to. Search resolves these links: | Paste this | Finds | | -------------------------- | ---------------------------------------------------------------------------- | | A GitHub pull request URL | The session triggered by that pull request, or the session that produced it | | A GitLab merge request URL | The session triggered by that merge request, or the session that produced it | | A Jira ticket URL | The session linked to that ticket | | An EkLine session URL | That session directly | Link search matches exactly, so a single paste takes you to the related session or sessions. Search shows the matches and lets you choose one. It never opens a session for you. You can paste a messy URL. A link that points at a pull request’s **Files** tab or a specific review comment still resolves. Self-managed hosts such as GitHub Enterprise and self-hosted GitLab work the same as github.com and gitlab.com. ## Understand your results [Section titled “Understand your results”](#understand-your-results) The header of the search view reports how many results it shows and how many sessions matched, for example `50 of 214 sessions · best match first`. The view shows up to 50 results. The second number counts everything that matched, not only the sessions already loaded in the **Sessions** list. * **No matches:** when nothing matches, the view says so and names your query. * **Older sessions not searched:** for a large history, keyword search covers the most recent sessions and shows a notice when older ones fall outside that range. Add more distinctive words to your query to surface the session you want. ## Filter the sessions list [Section titled “Filter the sessions list”](#filter-the-sessions-list) Click **Filter sessions** (the filter icon next to the **Sessions** heading) to narrow the list: * **Quick views**: **Needs attention** shows sessions that an integration or a schedule started and that are not marked done, leaving out pull request reviews where the agent found no docs update was needed. **Started by me** shows sessions you started. One quick view applies at a time. * **Source**: shows sessions by where they started: **Chat**, **GitHub**, **GitLab**, **Slack**, **Discord**, **Scheduled**, **Jira**, or **Journeys**. You can select more than one. The menu lists only the sources among the sessions already loaded. * **Hide done**: hides sessions marked as done. To mark one, open its actions menu in the list and click **Mark as done**. Filters apply to the sessions already loaded in the list, not to your whole history. To search your whole history, use [search by keyword](#search-by-keyword). Click **Clear all** to remove every filter. ## Next steps [Section titled “Next steps”](#next-steps) * [Getting started with Docs Agent](/agent/getting-started): Create your first document in the editor. * [Update and review](/agent/update-review): Resume a session to keep docs in sync with code changes. # For engineers: an EkLine pull request or comment on your repository > Why EkLine commented on your pull request or opened a docs pull request, how to reply, and how to tune or silence it. If EkLine commented on your pull request or asked you to review a docs pull request, you can reply to it, ask it for changes, or have its settings changed. ## Why it is there [Section titled “Why it is there”](#why-it-is-there) Someone in your organization connected this repository to EkLine, so the Docs Agent can check code changes for their effect on your documentation. What you see depends on how it was started: | What you see | Why | | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | One comment from EkLine on your pull request | Automatic PR review looked at your change. By default the agent posts nothing when no docs update is needed, a two or three line note when an update might be needed, and, when one is clearly needed, a comment that starts with `@ekline-ai` and starts the Docs Agent on the update. It posts at most one comment per pull request. | | “EkLine Docs Agent is on it. Follow the session in EkLine Editor.” (on GitLab: “EkLine Docs Agent is working on this update.”) | Someone mentioned `@ekline-ai`, or EkLine’s own comment did. The Docs Agent is working on the request. | | A pull request titled `docs: ...`, with you as a reviewer | The Docs Agent drafted the docs change in your documentation repository. You were added because you wrote the source pull request, or because you are on the team’s default reviewer list. | Automatic PR review runs when a pull request is opened or marked ready for review, and on GitHub when a label is added or removed. It does not run again when you push new commits, and it looks at each pull request at most once. By default it skips draft pull requests, pull requests into branches other than the default branch, and common bots such as Dependabot and Renovate. ## Reply or ask for changes [Section titled “Reply or ask for changes”](#reply-or-ask-for-changes) * Mention `@ekline-ai` in a comment on the pull request, or in an inline review comment on GitHub. A mention inside code, a link or an email address does not count. * Ask a question and the Docs Agent answers in the thread. Ask for a docs change and it makes the edits and, by default, opens or updates a docs pull request. * To change EkLine’s own docs pull request, mention `@ekline-ai` in a comment on it. On GitHub this continues the session that opened it. On GitLab it starts a new session. * Review, merge or close the docs pull request as you would any other. To get a reply, you need write or admin access to the repository, or membership of the GitHub organization. On GitLab you need the Developer role or higher. See [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/) for what a docs pull request contains. ## Tune it or turn it off [Section titled “Tune it or turn it off”](#tune-it-or-turn-it-off) These settings are in EkLine, not in your repository. Ask the person who set EkLine up, or any member of your EkLine organization, to change them. | You want to | Change this | | ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Skip some pull requests, such as release branches, a bot, a `no-docs` label, or changes that only touch test files | The repository’s [review rules](/agent/review-rules/): **Settings** > **Integrations** > **GitHub Integration** (or **GitLab Integration**), then the **Review rules** icon on the repository. | | Stop reviews of this repository | Turn off **Enable monitoring** on the repository, or remove it from both repository lists. | | Keep the comments but stop automatic docs pull requests | Turn off **Auto-create documentation PRs** in the repository’s review rules. If you don’t see it, contact . | | Stop being added as a reviewer | **Settings** > **Docs Agent** > **Reviewers**: remove the name from **Default reviewers**, or turn off **Auto-assign reviewer**. | | Stop scheduled docs pull requests | In **Automations**, turn the automation’s card off, or clear **Raise a pull request** in its settings. See [Automations](/agent/scheduled-agents/). | | Stop automatic PR review for the whole organization | Contact . | A review rule only affects reviews that have not run yet. To skip a pull request by label, add the label before the pull request is opened or marked ready for review. For more, see [Automatic PR review](/agent/automatic-pr-review/) and [GitHub pull requests](/agent/github-integration/). # Generate an API reference from your codebase > Use Docs Agent to turn your source code into a complete, accurate API reference with parameters, response schemas, and examples. Docs Agent reads your function signatures, types, and comments, and writes an API reference from them, with parameters, response schemas, example requests, and error codes. You review the reference and open it as a pull request. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * A repository [connected to EkLine](/agent/github-app-setup/) that contains the API source code you want to document. * The path to the file or directory that defines your API, for example `src/api/auth.ts` or `src/routes/`. ## Step 1: Open a session [Section titled “Step 1: Open a session”](#step-1-open-a-session) 1. Sign in to the [EkLine app](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. ## Step 2: Point the agent at your API source [Section titled “Step 2: Point the agent at your API source”](#step-2-point-the-agent-at-your-api-source) Reference the exact file or directory that defines your endpoints. Naming the source keeps the agent focused and improves accuracy. * Single file ```text Document the endpoints in src/api/auth.ts. Include request parameters, response schema, example requests, and error codes. ``` * Directory ```text Generate an API reference for every route in src/routes/. Group the endpoints by resource, and for each one include the HTTP method, parameters, response schema, and error responses. ``` * Specific endpoints ```text Document the POST /users and GET /users/:id endpoints in src/api/users.ts. Include request and response examples with realistic values. ``` For each endpoint, the agent extracts: * Endpoint URLs and HTTP methods * Request parameters with types and descriptions * Response schema with field descriptions * Example request and response bodies * Error responses and status codes ## Step 3: Review the generated reference [Section titled “Step 3: Review the generated reference”](#step-3-review-the-generated-reference) The agent writes the reference to the editor panel as it works. Read through the output and confirm it matches your code: * Endpoint paths and methods are correct. * Every parameter your code accepts appears in the reference. * Response fields match what your code returns. ## Step 4: Refine with follow-up prompts [Section titled “Step 4: Refine with follow-up prompts”](#step-4-refine-with-follow-up-prompts) Add detail or fix gaps by continuing the conversation. The agent keeps the context from your first prompt, so you can build on the reference incrementally. * Add examples ```text Add a curl example and a JavaScript fetch example to each endpoint. ``` * Document errors ```text Add an error table to each endpoint listing the status code, error message, and cause. ``` * Match your style ```text Match the structure and tone of docs/api/payments.md. ``` ## Step 5: Raise a pull request [Section titled “Step 5: Raise a pull request”](#step-5-raise-a-pull-request) 1. Enable **View All Changes** in the toolbar to see a diff of the generated reference. 2. Make any final edits directly in the editor panel. 3. Click **Raise PR**. The chat box fills with `Open a pull request for` and your repository’s name. Press **Enter** to send it, or edit it first to add instructions. The agent opens the pull request and replies in the chat with a link to continue the review on GitHub. ## Verify the reference is accurate [Section titled “Verify the reference is accurate”](#verify-the-reference-is-accurate) Before you merge, confirm the reference reflects your code: * **Signatures match.** Every parameter name, type, and required or optional flag matches the source. * **Examples run.** Copy an example request and run it against your API. The response matches the documented schema. * **Errors are complete.** Each documented status code corresponds to an error your code actually returns. * **Nothing is missing.** Every endpoint in the referenced file or directory appears in the output. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause | Fix | | ----------------------------------------- | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | | The agent misses endpoints | The prompt was too broad, or endpoints span several files | Name each file explicitly, or reference the parent directory: `"Document every route in src/routes/"` | | Parameter descriptions are vague | Your source code lacks comments or type annotations for those parameters | Add doc comments or types in the source, then regenerate, or supply the descriptions in a follow-up prompt | | Example values look generic | The agent had no sample data to draw from | Ask for realistic values: `"Use realistic example values based on the types in the code"` | | The reference mixes in conceptual content | The prompt asked for explanation alongside reference | Keep the prompt reference-focused, and generate concepts separately with [Create documentation](/agent/create/) | ## Next steps [Section titled “Next steps”](#next-steps) * [Update and review](/agent/update-review/): keep the reference in sync when your API changes. * [Create documentation](/agent/create/): generate READMEs, guides, and more from the same codebase. * [Set up automated style checks](/reviewer/quickstart/): catch style and terminology issues on every pull request with Docs Reviewer. # Ship your first docs pull request > Go from opening the EkLine app to a merged documentation pull request written by the Docs Agent. Ask the Docs Agent for a small change to your documentation, then merge the pull request it opens. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * An EkLine account that is a member of your organization. * A documentation repository connected to EkLine through [GitHub](/agent/github-app-setup/) or [GitLab](/agent/gitlab-setup/). * Permission to merge pull requests in that repository, or a teammate who has it. ## Steps [Section titled “Steps”](#steps) 1. Sign in to the [EkLine app](https://ekline.io/dashboard). 2. Click **New session** at the top of the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. Or type your request into **Start a conversation** on the dashboard and send it. 3. Ask for one small, concrete change. Name the file if you know it: ```text Add a Troubleshooting section to README.md that covers the errors the CLI prints when the API key is missing or invalid. ``` 4. Wait while the agent reads the repository and drafts. When it writes a file, the editor opens on the left with one tab per file, and the chat moves to the right. 5. Review the draft. If the agent changed an existing file, accept or reject its changes with **Accept All**, **Reject All**, or the check mark and cross on each change. Edit the text directly, or ask for changes in the chat. Enable **View All Changes** to see every change against the repository. 6. Click **Raise PR**. The chat box fills with `Open a pull request for` and your repository’s name. Press Enter to send it, or add instructions first, for example who should review it. 7. When the agent has opened the pull request, the button becomes **View PR #N**. Click it to open the pull request in GitHub or GitLab. 8. Review and merge the pull request there, as you would any other. For what the pull request contains, such as its branch, description, and reviewers, see [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). ## Check it worked [Section titled “Check it worked”](#check-it-worked) * The pull request is merged in your documentation repository, with the agent’s change on your default branch. * Back in the session, the toolbar shows the pull request’s **Merged** badge. * The session is listed under **Sessions** in the sidebar, so you can return to it. See [Find a past session](/agent/find-sessions/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | What to do | | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------- | | **New session** opens the Marketing Agent, which reads **What are we making?** | Select **Docs** in the composer before you send your request. | | **Raise PR** is grayed out with “No changes to create a PR” | The session has no changed files yet. Ask the agent for a change first. | ## Write better prompts [Section titled “Write better prompts”](#write-better-prompts) The more context you give, the better the output. | Instead of… | Try… | | -------------------- | ------------------------------------------------------------------------------------------- | | “Write docs” | “Create a getting started guide for Python developers” | | “Update the README” | “Add a Docker installation section to the README” | | “Help with API docs” | “Document the POST /users endpoint in src/api/users.ts with request and response examples” | | “Make release notes” | “Generate release notes for tickets ENG-100 through ENG-105, grouped by Features and Fixes” | ## Next [Section titled “Next”](#next) * [Work in the editor](/agent/editor/): review controls, **Update PR**, and stopping or queuing a turn. * [Custom instructions](/agent/custom-instructions/): tell the agent your conventions once, for every session. * [Start work from Jira tickets](/agent/jira-triggers/) or [Slack](/agent/slack-bot/): start sessions without opening the app. * [Check your docs in CI](/reviewer/quickstart/): run the Docs Reviewer on every pull request. # Connect GitHub to EkLine Docs Agent > Install the EkLine GitHub App and configure which repositories and documentation paths to monitor. Connect your GitHub organization to EkLine. Docs Agent can then watch your repositories, review pull requests, and write docs. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) * An EkLine account with an organization. [Sign up](https://ekline.io) if you haven’t already. * Admin access to the GitHub organization you want to connect. If you do not see the **GitHub Integration** tab or the **Install the GitHub App** button, contact . ## Install the GitHub App [Section titled “Install the GitHub App”](#install-the-github-app) You start the install from the **GitHub Integration** settings page. The first time, it shows the **Install the GitHub App** button. ![The GitHub Integration settings page under Settings then Integrations, showing the GitHub is not connected yet notice and the Install the GitHub App button](/assets/images/github-integration-settings.png) 1. **Open GitHub integration settings.** Go to your [EkLine Dashboard](https://ekline.io/dashboard), then open **Settings** > **Integrations** > **GitHub Integration**. 2. **Start the installation.** Click the **Install the GitHub App** button. GitHub opens so you can authorize the EkLine app. 3. **Select your GitHub account.** On the GitHub page, select the user account that authorizes EkLine. 4. **Select the target organization.** Select the GitHub organization to install the EkLine app on. 5. **Select repository access.** GitHub shows two options: * **All repositories**: EkLine can access every repository in the organization. * **Only select repositories**: you select the repositories. Select **Only select repositories**, then search for the repositories EkLine should watch. You can change this later in your GitHub organization settings. 6. **Complete the GitHub installation.** Click the **Install** button. GitHub sends you back to EkLine to finish the connection. ## Connect the organization in EkLine [Section titled “Connect the organization in EkLine”](#connect-the-organization-in-ekline) When GitHub sends you back, EkLine links the install to your EkLine organization. If EkLine shows the **GitHub App Setup** page with an organization picker, finish the connection there. 1. **Select your organization.** On the **GitHub App Setup** page, use the **Select an organization** dropdown. Select the EkLine organization to link to this install. 2. **Finish the connection.** Click the **Connect GitHub** button. EkLine links your GitHub organization and loads your repositories. ## Connect another GitHub organization [Section titled “Connect another GitHub organization”](#connect-another-github-organization) One EkLine organization can connect more than one GitHub organization. Any member of your EkLine organization can add one. 1. On the **GitHub Integration** settings page, find **Connected GitHub accounts**, which lists the accounts already connected. 2. Click **Install on another GitHub account**, then follow the same steps as the first install. Repositories from every connected account appear together in the repository lists. If EkLine can no longer reach a connected account, for example because the app was uninstalled there, a warning naming that account appears on the page. If you don’t see **Connected GitHub accounts**, contact . ## Configure repositories [Section titled “Configure repositories”](#configure-repositories) Once you connect, the GitHub integration page shows two lists of repositories. Each list has a badge that shows whether EkLine writes there. | Section | Badge | Purpose | | ----------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------- | | **Where EkLine writes** | **Write access** | Repositories that hold your docs. EkLine opens pull requests here. You can set paths to target certain folders or files. | | **What else EkLine can read** | **Read-only** | Code repositories where your product changes land. EkLine reads them to see what changed and why. It never writes to them. | ### Add documentation repositories [Section titled “Add documentation repositories”](#add-documentation-repositories) 1. **Search and select a repository.** Use the search field under **Where EkLine writes** to find and select a repository. 2. **Add documentation paths.** Click the **Add Path** button next to the repository. Enter the file or folder path for EkLine to watch, such as `docs/`, `README.md`, or `content/`. Click **Save**. The path shows as a tag that you can remove later. 3. **Check that monitoring is on.** The **Enable monitoring** switch is on by default for each repository you add. While it is on, EkLine runs [automatic PR review](/agent/automatic-pr-review/) on the repository’s pull requests, if automatic PR review is on for your organization. Turn it off only to stop automatic review for that repository. 4. **Check that your selection saved.** Your selection saves as you change it, so there is no save button. A message under the list reads **Saving…**, then **Saved**. If a save fails, it reads **Could not save the repository selection.** and shows a **Try again** control. ### Add code repositories [Section titled “Add code repositories”](#add-code-repositories) Use the search field under **What else EkLine can read** to select code repositories. They give EkLine context when it writes and reviews docs. Like the repositories under **Where EkLine writes**, they can get [automatic PR review](/agent/automatic-pr-review/). They need no paths. ## Verify the connection [Section titled “Verify the connection”](#verify-the-connection) When setup is done, check that: * The **Connected GitHub accounts** section lists the GitHub account you installed the app on. * Your selected repositories appear under **Where EkLine writes** or **What else EkLine can read**. * Docs paths show as tags next to their repositories. * **Enable monitoring** is on for each repository you want EkLine to review automatically. ## Next steps [Section titled “Next steps”](#next-steps) * [Use the GitHub PR bot](/agent/github-integration/) to write docs from pull request comments. * [Set up automatic PR review](/agent/automatic-pr-review/) so EkLine spots PRs that need docs updates. * [Set up the GitHub Action](/reviewer/quickstart/github-action/) to run style checks on every pull request. *** ## Stuck? [Section titled “Stuck?”](#stuck) Reply to your welcome email or contact . We read every message. # Generate documentation from GitHub pull requests > Trigger Docs Agent from GitHub pull requests by mentioning @ekline-ai in PR comments or code review threads to generate documentation. Start documentation sessions without leaving GitHub. Mention `@ekline-ai` in a pull request comment or review thread, and the bot generates a documentation draft linked to the PR context. ## How it works [Section titled “How it works”](#how-it-works) When you mention `@ekline-ai` in a PR comment, the bot: 1. Reacts with a :eyes: emoji to acknowledge your request. 2. Posts a reply with a link to the EkLine editor where it creates the draft. 3. Generates documentation based on your prompt and the PR context. 4. Replies with its answer when it finishes. If it opened or updated a docs pull request, the reply includes a link to it. The bot works in pull request comments and in review comments on code lines, not in comments on issues. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) Before you begin, you need: * An EkLine organization account. * The [EkLine GitHub App](/agent/github-app-setup/) installed on your organization. * Write or admin access to the repository, or membership of its GitHub organization. The bot answers anyone else with a note that it responds only to members and collaborators. ## Trigger the bot from a PR comment [Section titled “Trigger the bot from a PR comment”](#trigger-the-bot-from-a-pr-comment) 1. Open a pull request on a repository where the EkLine GitHub App is installed. 2. Write a comment on the PR that mentions `@ekline-ai` followed by your documentation request. ```text @ekline-ai Create a migration guide for the database schema changes in this PR. ``` 3. The bot reacts with :eyes: to confirm it received your request. 4. A reply appears with a link to the EkLine editor session where the agent drafts the documentation. 5. Review and edit the draft in the EkLine editor. 6. When the agent finishes, it replies on your PR. For a documentation change, the reply links to a docs pull request in a repository under **Where EkLine writes**. If the reply has no link, open the session in the EkLine editor and click **Raise PR**. ## Trigger the bot from a code review comment [Section titled “Trigger the bot from a code review comment”](#trigger-the-bot-from-a-code-review-comment) For more targeted documentation, mention the bot on specific lines in a code review. 1. Start a review on the pull request, or view the **Files changed** tab. 2. Select the line or lines you want to reference, and add a review comment that mentions `@ekline-ai`. ```text @ekline-ai Document this new API endpoint, including the request and response schema. ``` 3. The bot reacts with :eyes: and replies in the review thread. 4. The agent reads the file path and the diff for the lines you commented on, along with your prompt. 5. Review the generated draft in the EkLine editor and the resulting docs PR. ## What the bot posts [Section titled “What the bot posts”](#what-the-bot-posts) | Stage | What the bot posts | | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Request received | :eyes: reaction on your comment | | Session started | Reply with a link to the EkLine editor | | Agent finished | A new reply with the agent’s answer, in the same review thread when you commented on code lines. If the agent opened or updated a documentation pull request, the reply links to it | | Error | Reply that reads “Sorry, I encountered an error while processing your request. Please try again later.” | If you mention the bot again on the same PR, it resumes the existing session rather than starting a new one. ## Write effective prompts [Section titled “Write effective prompts”](#write-effective-prompts) The quality of your prompt determines the quality of the output. Everything in your comment after `@ekline-ai` is the prompt. | Instead of… | Try… | | ---------------- | ---------------------------------------------------------------------------- | | “document this” | “Create an API reference for the new `/users` endpoint added in this PR” | | “update docs” | “Update the authentication guide to cover the OAuth flow changes in this PR” | | “help with docs” | “Write a migration guide for the breaking changes to the config schema” | **Include specific details:** * Name the type of documentation you need: API reference, migration guide, tutorial, how-to. * Reference specific files or changes in the PR. * Mention existing documentation to update if applicable. * Give any audience context, such as whether it’s for developer docs or an end-user guide. ## Follow-up comments [Section titled “Follow-up comments”](#follow-up-comments) After the bot creates a docs PR, mention `@ekline-ai` again to continue the conversation. You can comment on either the source pull request or the generated docs PR. The bot resumes the existing session and keeps the context of the documentation it already produced. On the docs PR, it reacts with :eyes: but posts no editor link. The agent reads each follow-up comment and decides whether you are asking a question or requesting a change: * **Questions and clarifications:** When you ask something like “Where did you get this URL?” or “Why did you change this section?”, the agent replies with an answer. It does not edit files or push commits. * **Change requests:** When you ask for a documentation change, the agent edits the docs and pushes new commits to the linked docs PR, or opens one if none exists yet. To change the documentation, describe the change you want. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * A :eyes: reaction appears on your comment, followed by a reply that links to the EkLine editor. * The session appears under **Sessions** in the EkLine app. Filter by **Source** > **GitHub** to find it. See [Find a past session](/agent/find-sessions/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Bot does not respond | Verify that the EkLine GitHub App is installed on the repository, and that you mentioned the bot on a pull request, not an issue. | | Bot replies that it responds only to members and collaborators | Ask a repository admin to give you write access, or to add you to the GitHub organization. | | Bot reacts but does not reply | The agent may still be processing your request, and a session can take several minutes. If no reply appears, try again or contact . | | “Sorry, I encountered an error” reply from the bot | Try again. If the error repeats, contact . | | Docs PR not created | The agent opens a docs PR only for a documentation change, not for a question. If your prompt is unclear, the agent may not change any files, so give a more specific prompt. When **Auto-create documentation PRs** is off in the repository’s [review rules](/agent/review-rules/), the drafts stay in the editor. To open the PR yourself, open the session and click **Raise PR**. | ## Next steps [Section titled “Next steps”](#next-steps) * [Create documentation](/agent/create/): Generate documentation from your codebase, videos, and external sources. * [Slack bot](/agent/slack-bot/): Create documentation drafts directly from Slack. * [Integrations](/agent/integrations/): Connect Notion, Linear, Jira, and other tools for richer context. # Generate documentation from GitLab merge requests > Trigger Docs Agent from GitLab merge requests by mentioning @ekline-ai in a merge request comment to generate documentation from the change. Start docs sessions without leaving GitLab. Mention `@ekline-ai` in a merge request comment, followed by your request. Docs Agent drafts the docs from the merge request. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) Before you begin, you need: * An EkLine organization account. * GitLab connected to EkLine, with a token, your code and documentation projects selected, and the webhook configured. See [Connect GitLab](/agent/gitlab-setup/). * The webhook on your GitLab project sending **Comments** and **Merge request events** to EkLine. * The Developer role or higher on the GitLab project. Anyone else gets a note that Docs Agent responds only to members and collaborators. ## How it works [Section titled “How it works”](#how-it-works) When you mention `@ekline-ai` in a merge request comment, Docs Agent: 1. Adds a :eyes: reaction to your comment. 2. Replies with a link to the EkLine editor where it drafts the docs. 3. Writes the docs from your prompt and the merge request. 4. Edits that reply to show its answer when it finishes. For a docs change, it opens a merge request in your docs project. Docs Agent replies in the thread of the comment that mentioned it. ## Trigger Docs Agent from a merge request comment [Section titled “Trigger Docs Agent from a merge request comment”](#trigger-docs-agent-from-a-merge-request-comment) 1. **Open a merge request** on a GitLab project you connected to EkLine. 2. **Add a comment that mentions `@ekline-ai`** followed by your docs request. ```text @ekline-ai Create a migration guide for the database schema changes in this merge request. ``` 3. **Wait for the :eyes: reaction.** It confirms Docs Agent has your request. 4. **Open the editor from the reply.** The reply links to the EkLine editor session. Review and edit the draft there. 5. **Review the docs merge request.** When Docs Agent finishes, it edits its reply to show its answer. Find the merge request in your docs project, or in the editor session. If there is none, click **Raise PR** in the editor session. ## Write effective prompts [Section titled “Write effective prompts”](#write-effective-prompts) The quality of your prompt determines the quality of the output. Everything in your comment after `@ekline-ai` is the prompt. | Instead of… | Try… | | ---------------- | --------------------------------------------------------------------------------------- | | “document this” | “Create an API reference for the new `/users` endpoint added in this merge request” | | “update docs” | “Update the authentication guide to cover the OAuth flow changes in this merge request” | | “help with docs” | “Write a migration guide for the breaking changes to the config schema” | Include specific details: * Name the type of documentation you need: API reference, migration guide, tutorial, how-to. * Reference specific files or changes in the merge request. * Mention existing documentation to update if applicable. * Give any audience context, such as whether it’s for developer docs or an end-user guide. ## Follow-up comments [Section titled “Follow-up comments”](#follow-up-comments) To continue the conversation, mention `@ekline-ai` again on the source merge request. Docs Agent resumes the same session and keeps what it already wrote. A mention on the docs merge request that EkLine opened starts a new session. Docs Agent reads each follow-up comment and decides whether you are asking a question or requesting a change: * **Questions and clarifications:** When you ask something like “Where did you get this URL?” or “Why did you change this section?”, Docs Agent replies with an answer. It does not edit files or push commits. * **Change requests:** When you ask for a docs change, Docs Agent edits the docs. It pushes new commits to the linked docs merge request, or opens one if none exists yet. ## Reference GitLab content in your prompt [Section titled “Reference GitLab content in your prompt”](#reference-gitlab-content-in-your-prompt) Docs Agent reads GitLab merge request and issue links in your prompt from your connected projects. Link another merge request or an issue to give it more context: ```text @ekline-ai Document this endpoint and cross-check the request format against issue #215. ``` For the full list of what Docs Agent can reference, see [Docs Agent integrations](/agent/integrations/). ## Check it worked [Section titled “Check it worked”](#check-it-worked) * A :eyes: reaction appears on your comment, followed by a reply that links to the EkLine editor. * The session appears under **Sessions** in the EkLine app. Filter by **Source** > **GitLab** to find it. See [Find a past session](/agent/find-sessions/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Docs Agent does not respond | Confirm GitLab is connected and the project is selected in your integration settings. In GitLab, open **Settings > Webhooks**. Check that the webhook sends **Comments** and **Merge request events**, and that its status is healthy. | | Docs Agent replies that it responds only to members and collaborators | Ask a project maintainer to give you the Developer role or higher. | | Reaction appears but no reply | Docs Agent may still be working. A session can take several minutes. If no reply appears, mention `@ekline-ai` again or contact . | | Reply says “I couldn’t access GitLab with the stored access token” | Add a new token in [Connect GitLab](/agent/gitlab-setup/). Confirm the status shows **Token is set**, then try again. | | “Sorry, I encountered an error” reply | Try again. If the error repeats, contact . | | No docs merge request created | Docs Agent opens a merge request only for a docs change, not for a question. If your prompt is unclear, it may not change any files, so give a more specific prompt. To open the merge request yourself, open the session and click **Raise PR**. | ## Next steps [Section titled “Next steps”](#next-steps) * [Connect GitLab](/agent/gitlab-setup/): Add a token, select projects, and configure the webhook. * [GitHub PR bot](/agent/github-integration/): Trigger Docs Agent from GitHub pull requests. * [Create documentation](/agent/create/): Generate documentation from your codebase, videos, and external sources. * [Integrations](/agent/integrations/): Connect Slack, Notion, Jira, and other tools for richer context. *** ## Stuck? [Section titled “Stuck?”](#stuck) Reply to your welcome email or contact . We read every message. # Connect GitLab to EkLine Docs Agent > Add a GitLab access token to connect your projects so Docs Agent can reference merge requests, issues, and repository files. Connect GitLab to EkLine so Docs Agent can reference your merge requests, issues, and repository files when it generates and updates documentation. GitLab connects with a GitLab access token. You add the token once at the organization level, and every member of your EkLine organization can then reference GitLab content in their Docs Agent sessions. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) * An EkLine account with an organization. [Sign up](https://ekline.io) if you haven’t already. * A gitlab.com account with access to the projects you want EkLine to reference. Self-managed GitLab is not supported. * Permission in GitLab to create an access token with the required scopes. If you do not see the **GitLab Integration** tab under **Settings** > **Integrations**, contact . ## Generate a GitLab group access token [Section titled “Generate a GitLab group access token”](#generate-a-gitlab-group-access-token) A group access token covers every project in the group with a single token, so it’s the recommended option when your organization has multiple projects. EkLine also accepts personal and project access tokens if you prefer to scope access differently. For full details, see the [GitLab group access tokens reference](https://docs.gitlab.com/user/group/settings/group_access_tokens/). 1. **Open the group’s access tokens page in GitLab.** Go to the group you want EkLine to access, then navigate to **Settings** > **Access tokens**. 2. **Add a new token.** Click **Add new token** and enter a recognizable name, such as `EkLine Integration`. 3. **Set an expiration date.** Set the expiration as needed. 4. **Select a role.** Select the **Developer** role or higher. The role determines what the token can read across the group’s projects. 5. **Select the required scopes.** Select both the `api` and `read_repository` scopes. EkLine needs both. 6. **Create and copy the token.** Click **Create group access token** and copy the generated token. The token starts with `glpat-`. Caution GitLab shows the token value only once. Copy it before you leave the page. ## Connect GitLab in EkLine [Section titled “Connect GitLab in EkLine”](#connect-gitlab-in-ekline) The **GitLab Integration** settings page holds your token. Before you add a token, the status reads **Token is not set**. ![The GitLab Integration settings page under Settings then Integrations, showing the GitLab is not connected yet notice, the GitLab Token section with a Token is not set status, and the Update Token button](/assets/images/gitlab-integration-settings.png) 1. **Open GitLab integration settings.** Go to your [EkLine Dashboard](https://ekline.io/dashboard) and navigate to **Settings** > **Integrations** > **GitLab Integration**. 2. **Add your token.** Click the **Update Token** button. Paste your GitLab token into the **GitLab Token** field. 3. **Save the token.** Click **Save Token**. EkLine checks the token with GitLab, and for a personal access token it also confirms both scopes. When the connection succeeds, the status changes to **Token is set**. ## Select code repositories [Section titled “Select code repositories”](#select-code-repositories) After you connect a token, EkLine loads the GitLab projects the token can access. 1. **Find the “What else EkLine can read” section.** The **What else EkLine can read** section lists the GitLab projects available to the token. It carries a **Read-only** badge: EkLine reads these projects to work out what changed and why, and never writes to them. 2. **Select your projects.** Select the GitLab projects where your product changes land. 3. **Check that your selection saved.** Your selection saves automatically as you change it, so there is no save button to click. A status message below the list reads **Saving…**, then **Saved** once the selected projects are available in Docs Agent sessions. If a save fails, the message reads **Could not save the repository selection.** and shows a **Try again** control. ## Select documentation repositories [Section titled “Select documentation repositories”](#select-documentation-repositories) Select the GitLab projects that hold your documentation. Docs Agent opens merge requests in these projects when it drafts or updates docs. 1. **Find the “Where EkLine writes” section.** The **Where EkLine writes** section lists the same GitLab projects available to the token. It carries a **Write access** badge: EkLine opens merge requests in these projects. 2. **Select your docs projects.** Select the GitLab projects where Docs Agent should propose documentation changes. 3. **Check that your selection saved.** Your selection saves automatically as you change it, so there is no save button to click. A status message below the list reads **Saving…**, then **Saved**. Docs Agent can then open merge requests in the selected projects. If a save fails, the message reads **Could not save the repository selection.** and shows a **Try again** control. ## Configure the GitLab webhook [Section titled “Configure the GitLab webhook”](#configure-the-gitlab-webhook) A webhook lets GitLab notify EkLine about events in your project, such as new merge requests and comments. After you add a token, EkLine shows the **Webhook Configuration** section with the values you need. 1. **Copy the webhook details from EkLine.** In the **Webhook Configuration** section on the GitLab integration settings page, copy the **Webhook URL** and the **Secret Token**. 2. **Open the webhooks page in GitLab.** In your GitLab project, navigate to **Settings** > **Webhooks** and click **Add new webhook**. 3. **Enter the webhook URL and secret.** Paste the EkLine webhook URL into the **URL** field, then paste the secret into the **Secret token** field. 4. **Select the triggers.** Enable these triggers: **Push events**, **Comments**, **Emoji events**, and **Merge request events**. 5. **Save the webhook.** Click **Add webhook**. GitLab now sends events to EkLine for that project. ## Verify the connection [Section titled “Verify the connection”](#verify-the-connection) Confirm that the integration is ready: * The token status shows **Token is set**. * Your selected projects appear under **What else EkLine can read**, and your documentation projects under **Where EkLine writes**. * The **Webhook URL** and **Secret Token** appear in the **Webhook Configuration** section. * A team member can reference a GitLab merge request or issue in a Docs Agent session and the agent fetches the content. ## Use GitLab content in Docs Agent [Section titled “Use GitLab content in Docs Agent”](#use-gitlab-content-in-docs-agent) After you connect GitLab, reference GitLab content directly in your prompts. The agent recognizes GitLab URLs and IDs automatically and pulls the details from your connected projects. ```text Create a changelog entry based on this GitLab merge request: https://gitlab.com/your-org/platform/-/merge_requests/42 ``` ```text Update the authentication docs based on the changes in GitLab issue #215. ``` ```text Document the new API endpoints by referencing the files changed in merge request !87. ``` The agent accesses content using the permissions of the account that created the token. You can only pull content that account has permission to view. ## Next steps [Section titled “Next steps”](#next-steps) * [Generate documentation from GitLab merge requests](/agent/gitlab-integration/): trigger Docs Agent by mentioning `@ekline-ai` in a merge request comment. * [Docs Agent integrations](/agent/integrations/): see every source you can reference, including Slack, Notion, Jira, and Confluence. * [Create documentation](/agent/create/): generate a draft from your connected sources. * [Update and review](/agent/update-review/): refine and review documentation with the agent. *** ## Stuck? [Section titled “Stuck?”](#stuck) Reply to your welcome email or contact . We read every message. # How EkLine opens pull requests > Which repositories EkLine writes to and which it only reads, what a docs pull request contains, and how to ask for changes. EkLine opens pull requests (merge requests on GitLab) only in the repositories you select for documentation. Your team reviews and merges them. ## Where EkLine writes and where it only reads [Section titled “Where EkLine writes and where it only reads”](#where-ekline-writes-and-where-it-only-reads) You select repositories in **Settings** > **Integrations** > **GitHub Integration** (or **GitLab Integration**), in two lists: | List | Shown as | What EkLine does there | | ----------------------------- | ---------------- | -------------------------------------------------------------------------------------------- | | **Where EkLine writes** | **Write access** | Opens pull requests with documentation changes. Select the repositories that hold your docs. | | **What else EkLine can read** | **Read-only** | Reads code and pull requests to work out what changed and why. Never writes. | In every agent session, EkLine blocks: * edits to files outside the **Where EkLine writes** repositories * `git push` to any other repository * GitHub and GitLab command-line writes, such as creating a pull request, aimed at any other repository EkLine can still comment on pull requests in your read-only repositories. That is how [automatic PR review](/agent/automatic-pr-review/) and replies to `@ekline-ai` work. The Marketing Agent works under the same list. Its drafts stay in the editor until you ask it to publish one to a documentation repository. For EkLine’s security compliance and subprocessors, see the [trust center](https://ekline.io/trust-center). ## When EkLine opens a pull request [Section titled “When EkLine opens a pull request”](#when-ekline-opens-a-pull-request) The agent opens a pull request as a step in a session. It opens one in these cases: | Where the work started | When the agent opens a pull request | | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | [The editor](/agent/editor/) | You click **Raise PR**, which puts “Open a pull request” in the message box, and send it. | | A comment that mentions `@ekline-ai` on a pull request or merge request | When the comment asks for a documentation change. A question gets an answer and no pull request. | | [Slack](/agent/slack-bot/) | When the request changes docs files and **Automatically raise PRs from Slack requests** is on (the default) in **Settings** > **Docs Agent** > **Slack triggers**. | | An [automation](/agent/scheduled-agents/) | When **Raise a pull request** is checked under **Notifications**. | | A [Jira trigger](/agent/jira-triggers/) | Once for each ticket the trigger picks up. | | [Automatic PR review](/agent/automatic-pr-review/) | When it rates a code pull request High, it starts the Docs Agent on the update. | | The Marketing Agent | Only when you ask it to publish a draft to a documentation repository and say where. | When **Auto-create documentation PRs** is off in a repository’s [review rules](/agent/review-rules/), comments on that repository’s pull requests leave drafts in the editor. You raise the pull request yourself. If you don’t see that setting, EkLine always opens the pull request. To get the setting, contact . If no pull request appears when you expect one, open the session and ask the agent to open one. ## What a docs pull request contains [Section titled “What a docs pull request contains”](#what-a-docs-pull-request-contains) On GitHub, EkLine opens the pull request as the EkLine GitHub App. On GitLab, it opens the merge request as the user who owns the access token you connected. A docs pull request from EkLine has: * A branch with a `docs/` prefix, based on the repository’s default branch. * A title and commit messages that start with `docs:`, followed by what was documented. * A body that says what was documented, why, and how a reviewer can check it. It also lists any of your Review rules the change could not meet. * A body that ends with ”📝 Created with EkLine · View session”, where **View session** links to the session in EkLine. * No labels. It opens ready for review. * Reviewers from **Settings** > **Docs Agent** > **Reviewers**: everyone under **Default reviewers**. When **Auto-assign reviewer** is on, it also adds the person who started the request: the Slack user who mentioned EkLine, or the author of the source pull request. If EkLine finds no reviewer, it opens the pull request anyway. Before it commits, the Docs Agent checks its changes against your rules of type **Review** (**Settings** > **Docs Agent** > **Rules**). It also runs a style review. A failed style review never stops the pull request. A pull request from the Marketing Agent has no style review. ## Confidence ratings belong to code pull requests [Section titled “Confidence ratings belong to code pull requests”](#confidence-ratings-belong-to-code-pull-requests) Low, Medium and High are the ratings [automatic PR review](/agent/automatic-pr-review/) gives a code pull request. They say how likely the change is to need a docs update. You see them in the session, as “Documentation impact confidence”, and as a dot in the sessions list. They never appear in a docs pull request. By default the agent posts nothing for Low, a short comment for Medium, and a comment that starts the Docs Agent for High. ## GitLab differences [Section titled “GitLab differences”](#gitlab-differences) * EkLine opens merge requests on gitlab.com projects. * Merge requests and replies are posted as the user who owns your organization’s GitLab access token, not as a bot. * If the access token is missing, or GitLab rejects it, the agent stops before it changes anything. It asks you to reconnect GitLab in EkLine settings. * The agent tries to add the same reviewers. A name that is not a GitLab user is left off, and the merge request opens anyway. * A comment that mentions `@ekline-ai` on EkLine’s own merge request starts a new session. It does not continue the one that opened the merge request. ## Ask for changes [Section titled “Ask for changes”](#ask-for-changes) * **In the editor:** open the session from the pull request’s **View session** link, ask for the change, and review it. Then click **Update PR**. It puts “Update pull request #N with my latest changes” in the message box. Send it. * **On GitHub:** mention `@ekline-ai` in a comment on EkLine’s pull request. EkLine reacts with 👀 and continues the session that opened the pull request, on the same branch. * **On GitLab:** mention `@ekline-ai` in a comment on the merge request. This starts a new session. In the editor and on GitHub, the agent pushes a new commit to the same pull request. It leaves the title, body and reviewers as they are. ## FAQ [Section titled “FAQ”](#faq) ### Will EkLine open pull requests on our code repositories? [Section titled “Will EkLine open pull requests on our code repositories?”](#will-ekline-open-pull-requests-on-our-code-repositories) No, unless you add a code repository to **Where EkLine writes**. Repositories under **What else EkLine can read** are read-only: EkLine blocks pushes and pull request commands aimed at them. It does comment on their pull requests, when automatic PR review covers the repository or when someone mentions `@ekline-ai`. ### Who can ask EkLine for changes in a comment? [Section titled “Who can ask EkLine for changes in a comment?”](#who-can-ask-ekline-for-changes-in-a-comment) On GitHub, someone with write or admin access to the repository, or a member of the GitHub organization. On GitLab, a project member with the Developer role or higher. Anyone else gets a reply saying EkLine responds only to members and collaborators. ### Why did EkLine not answer my second comment straight away? [Section titled “Why did EkLine not answer my second comment straight away?”](#why-did-ekline-not-answer-my-second-comment-straight-away) A session works on one request at a time. On GitHub, a later comment waits for the current one to finish, for up to five minutes. If it is still waiting after that, EkLine replies “Sorry, I encountered an error while processing your request. Please try again later.” Comment again when the first request is done. # Integrations overview > What EkLine reads and what it writes in each tool you connect: code hosts, sources, support tools, chat, and the docs platforms you keep. Connect tools under **Settings** > **Integrations**. A connection applies to your whole EkLine organization, not only to the person who connected it. For the sign-in method and the permissions each connection asks for, see [Integration authentication requirements](/agent/connector-auth-requirements/). Changes to your docs arrive as pull requests or merge requests that your team merges. In the editor, knowledge base edits publish when someone clicks **Update KB**. If you don’t see **GitHub Integration**, **GitLab Integration**, **KB Management**, **Pylon**, **Atlassian Teamwork Graph**, **Jira triggers**, or **Slack triggers**, contact . ## Code hosts [Section titled “Code hosts”](#code-hosts) EkLine writes your docs through a code host. It works on the repositories you select, in two lists: * **Where EkLine writes**: the repositories that hold your documentation. EkLine opens pull requests here. * **What else EkLine can read**: the repositories where product changes land. EkLine reads these to work out what changed and why. It never writes to them. | Tool | What EkLine reads | What EkLine writes | Where to connect it | | ---------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **GitHub** | Repositories in both lists, and pull request comments that mention `@ekline-ai`. | Branches and pull requests in **Where EkLine writes** repositories only, and replies on pull requests where someone mentioned EkLine. | **Settings** > **Integrations** > **GitHub Integration**, by installing the EkLine GitHub App. See [Connect GitHub](/agent/github-app-setup/) and [GitHub pull requests](/agent/github-integration/). | | **GitLab** | Projects in both lists, and merge request comments that mention EkLine. | Branches and merge requests in **Where EkLine writes** projects only, and replies on merge requests where someone mentioned EkLine. | **Settings** > **Integrations** > **GitLab Integration**, with a GitLab access token. See [Connect GitLab](/agent/gitlab-setup/) and [GitLab merge requests](/agent/gitlab-integration/). | * GitLab works with gitlab.com only. Self-managed GitLab is not supported. * The **GitLab** card in the integrations grid is a separate connection. It lets the agent read merge requests, issues, and repository files you mention in a prompt. Merge requests that EkLine opens come from the **GitLab Integration** tab. ## Sources [Section titled “Sources”](#sources) Sources give the agents context. Mention a ticket or page in a prompt, and the agent reads it. | Tool | What EkLine reads | What EkLine writes | Where to connect it | | ---------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Jira** | Issue details for the tickets you mention, or the ticket a Jira trigger picked up. | A comment on the ticket, when a [Jira trigger](/agent/jira-triggers/) starts the work. | **Jira** card. Enter your Atlassian subdomain (`acme` for `acme.atlassian.net`), then sign in with Atlassian. | | **Confluence** | Pages you mention, from the spaces the connected Atlassian account can reach. | Not supported from this card. See [Confluence](#confluence). | **Confluence** card. Enter your Atlassian subdomain, then sign in with Atlassian. | | **Atlassian Teamwork Graph** | Searches your whole Confluence site for source material. | Not supported. | **Atlassian Teamwork Graph** card, with your site, an account email, and an Atlassian API token. See [Connect Atlassian Teamwork Graph](/agent/teamwork-graph-setup/). | | **Linear** | Issue details for the issues you mention. | Creates or updates issues when you ask. | **Linear** card. | | **Notion** | Pages you point the agent to, as source material. | Creates or updates pages when you ask. | **Notion** card. | | **Google Drive** | Files and folders in your Drive. | Creates, uploads, moves, renames and deletes files and folders in your Drive when you ask. | **Google Drive** card. | | **PostHog** | Insights, HogQL query results, and feature flags. | Not supported. | **PostHog** card, with a PostHog personal API key (it starts with `phx_`). Create the key in PostHog under **Personal API Keys** in your settings. Select your region: **US (Public)**, **US (Private)**, **EU (Public)** or **EU (Private)**. For a self-hosted PostHog, select **Custom (self-hosted)** and enter your hostname. | | **DevRev** | Issue tracking and product insights. | Not supported. | **DevRev** card, with a DevRev personal access token. | “Not supported” means no EkLine workflow writes to that tool. The permissions each connection asks for are listed in [Integration authentication requirements](/agent/connector-auth-requirements/). The **HubSpot** card shows **Coming soon**. You cannot connect it yet. To give the agents files instead of a connected tool, upload them as [reference documents](/agent/reference-documents/). ### Confluence [Section titled “Confluence”](#confluence) EkLine has three Confluence connections, each for a different job: | You want the agent to | Connect | | -------------------------------------------------------------- | -------------------------------------------------------------- | | Read a page you name in a prompt | The **Confluence** card | | Find pages across your whole site when you do not know the URL | The **Atlassian Teamwork Graph** card | | Update pages in a Confluence knowledge base | The **KB Management** tab, described under [Support](#support) | ## Support [Section titled “Support”](#support) Support tools give the agents your customers’ questions, and let them keep your help center current. | Tool | What EkLine reads | What EkLine writes | Where to connect it | | ----------------------------- | ------------------------------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Pylon** | Support issues and conversations. | Not supported from this card. | **Pylon** card, signing in with Pylon. | | **Pylon** knowledge base | Articles in the Pylon knowledge bases you select. | Updates existing articles and creates new ones, when you click **Update KB**. | **Settings** > **Integrations** > **KB Management**, with a Pylon API token. See [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/). | | **Confluence** knowledge base | Pages in the Confluence spaces you select. | Updates existing pages, when you click **Update KB**. It does not create new pages. | The **Confluence** card first, then **Settings** > **Integrations** > **KB Management**. See [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/). | The **Zendesk** card shows **Coming soon**. You cannot connect it yet. ## Chat [Section titled “Chat”](#chat) Chat tools let your team ask for docs changes where they already talk. | Tool | What EkLine reads | What EkLine writes | Where to connect it | | ----------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | | **Slack** | The thread where you mention EkLine, nearby channel messages, channel details, and files shared in the thread. | Replies and reactions in the thread, and a `proposed-changes.diff` file. Summaries from an [Automation](/agent/scheduled-agents/) to a channel you name. | **Slack** card. See [Slack](/agent/slack-bot/). | | **Discord** | The thread where you mention EkLine. | Replies in the thread. | **Discord** card. See [Discord](/agent/discord-bot/). | A request from Slack can also open a docs pull request. That pull request is written to GitHub or GitLab, not to Slack. You control it with **Automatically raise PRs from Slack requests** under **Settings** > **Docs Agent** > **Slack triggers**. ## Docs platforms you keep [Section titled “Docs platforms you keep”](#docs-platforms-you-keep) EkLine does not connect to a docs platform’s own API. It edits the files in the Git repository your platform builds from, and your platform publishes after you merge. To see what works for Mintlify, GitBook, ReadMe, Docusaurus, Fern, Redocly, and Astro, see [Docs platforms you keep](/workspace/docs-platforms/). ## Disconnect a tool [Section titled “Disconnect a tool”](#disconnect-a-tool) To stop EkLine reading or writing a tool, click **Disconnect** on its card under **Settings** > **Integrations**. For a token you created yourself, revoke it in that tool too. To remove the GitHub App, uninstall it in your GitHub settings. # Start work from Jira tickets > Set up a Jira trigger so a ticket that reaches a status you choose starts the Docs Agent, which drafts the docs change and opens a pull request. A Jira trigger starts a Docs Agent session when a ticket in the projects you choose, assigned to the people you choose, moves into a status you choose. The agent reads the ticket, drafts the docs change, opens a pull request, and comments on the ticket with what it did. Triggers start the Docs Agent only, never the Marketing Agent. Linear works differently: once connected, the agent can read Linear issues for context, but a Linear issue cannot start a session. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * A documentation repository connected through [GitHub](/agent/github-app-setup/) or [GitLab](/agent/gitlab-setup/). The agent opens its pull requests there. * A **Jira triggers** tab under **Settings** > **Docs Agent**. If you do not see it, contact . Any member of your organization can add, edit, and delete triggers. ## Steps [Section titled “Steps”](#steps) 1. **Connect Jira.** Go to **Settings** > **Integrations**, find **Jira**, and click **Connect**. In **Jira Subdomain**, enter the first part of your Atlassian URL (for `acme.atlassian.net`, enter `acme`), click **Connect**, and finish the Atlassian sign-in. The card then shows **Connected**. 2. **Open the triggers.** Go to **Settings** > **Docs Agent** > **Jira triggers** and click **Add trigger**. 3. **Select the tickets.** Fill in the form: | Field | What to enter | | --------------------- | ------------------------------------------------------------------------------------------------------------------- | | **Projects** | One or more Jira projects. | | **Assignees** | One or more people. Type in **Search people by name** and select from the results. | | **Statuses** | One or more statuses, for example `Ready for docs`. | | **Labels (optional)** | Leave empty, or limit the trigger to tickets that carry at least one of these labels. Type a label and press Enter. | 4. **Save it.** Click **Create trigger**. The trigger appears as a sentence, such as “When a ticket in Acme Help (ACME), assigned to Alex Kim, enters Ready for docs”, with a switch to turn it off and buttons to edit or delete it. ### How tickets match [Section titled “How tickets match”](#how-tickets-match) * **Any value within a field, every field together.** A ticket matches when its project, assignee, and status are each one of the trigger’s values, and, with labels set, it carries at least one of them. Unassigned tickets never match. * **On the way in.** The trigger fires when a change of status, assignee, or (with labels set) labels makes a ticket match, or when a ticket is created already matching. Editing the summary or description does not fire it. * **Statuses match by name**, ignoring case. If several workflows have a status called `Ready for docs`, the list shows it once and all of them count. * **One session per ticket.** Once a ticket has started a session, moving it out of the status and back does not start another. If that session failed before it finished, the next matching change starts a new one. ### What the agent does [Section titled “What the agent does”](#what-the-agent-does) 1. Checks the ticket again immediately before it starts. If the ticket no longer matches, it stops without doing anything. 2. Reads the ticket, its comments, and any linked pull requests and Confluence pages. 3. Decides which documentation repository and pages the change belongs in, from the ticket, the linked code, and your connected repositories. There is no setting for a target repository. 4. Drafts the update and opens a pull request for your team to review. 5. Posts one comment on the ticket: what it changed and why, the pull request link, and anything it could not read. If the agent cannot tell where the docs belong, or the change needs no docs, it opens no pull request and says so in its ticket comment. For what the pull request contains, see [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/). ## Check it worked [Section titled “Check it worked”](#check-it-worked) Move a test ticket into the trigger’s status, assigned to one of its assignees, then look for: * **A comment on the ticket** with the pull request link. * **A session** under **Sessions**, titled with the ticket’s summary. Filter by **Source** > **Jira**, or paste the ticket’s URL into session search. See [Find a past session](/agent/find-sessions/). * **A pull request** in your documentation repository. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | What to do | | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | | The tab says “Connect Jira first to configure triggers” | Connect Jira in **Settings** > **Integrations**, then reopen the tab. | | **Create trigger** stays grayed out | Select at least one project, one assignee, and one status. | | A ticket reached the status and nothing happened | Check that the trigger is switched on, the ticket’s assignee and labels match, and the ticket has not started a session before. | | The agent commented but opened no pull request | It could not tell where the docs live, or found nothing to change. Open the session and tell the agent where the docs live. | ## Next [Section titled “Next”](#next) * [Work in the editor](/agent/editor/) * [How EkLine opens pull requests](/agent/how-ekline-opens-pull-requests/) * [Slack](/agent/slack-bot/) * [GitHub pull requests](/agent/github-integration/) # Keep documentation in sync with code > Docs Agent keeps documentation in sync with code: it checks pull requests for docs impact, audits for drift on a schedule, and drafts updates for you to review. EkLine Docs Agent keeps your documentation in sync with your code. Docs drift when a pull request merges without a matching docs update, such as a renamed option, a new API endpoint, or a removed feature. The agent watches your repositories for changes, finds where the docs have fallen behind, and drafts the update as a pull request you review. ## How EkLine keeps documentation in sync [Section titled “How EkLine keeps documentation in sync”](#how-ekline-keeps-documentation-in-sync) EkLine catches drift three ways. The first two run on their own once you set them up. The third runs when you ask. | Mechanism | When it runs | What it does | | --------------------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Automatic pull-request review** | When a pull request opens | Checks the diff for docs impact. On a high-confidence match, it drafts the docs update and opens a docs pull request. See [Automatic PR review](/agent/automatic-pr-review/). | | **Scheduled drift audit** | On a cadence you set | Reviews recent code changes, finds customer-facing changes with no docs, and fixes the most important gap. See [Prevent documentation drift](/agent/prevent-documentation-drift/). | | **On-demand updates** | When you ask | Updates the affected docs from a merged change or a referenced Jira or Linear ticket. See [Update and review](/agent/update-review/). | ## What EkLine keeps current [Section titled “What EkLine keeps current”](#what-ekline-keeps-current) * **README files**, from your repository structure and code. * **API references**, from function signatures, types, and comments. * **How-to and getting-started guides**, for your users and contributors. * **Knowledge-base pages**, such as Confluence spaces connected to EkLine. ## Where it fits in your workflow [Section titled “Where it fits in your workflow”](#where-it-fits-in-your-workflow) EkLine connects to [GitHub](/agent/github-app-setup/) and [GitLab](/agent/gitlab-setup/) to watch code changes and open documentation pull requests. Every update arrives as a pull request on your documentation repository, so it goes through your usual review and merge. ## FAQ [Section titled “FAQ”](#faq) ### Can EkLine automatically update documentation when code changes? [Section titled “Can EkLine automatically update documentation when code changes?”](#can-ekline-automatically-update-documentation-when-code-changes) Yes. When a pull request opens, EkLine Docs Agent checks the diff for docs impact. On a high-confidence match, it drafts the docs update and opens a docs pull request for you to review. You can also point the agent at a merged change or a Jira or Linear ticket, and it updates the affected docs. ### How does EkLine detect documentation drift? [Section titled “How does EkLine detect documentation drift?”](#how-does-ekline-detect-documentation-drift) EkLine finds drift two ways. Automatic pull-request review checks each new pull request against your existing docs. It runs in the repositories you select, and skips draft pull requests by default. A scheduled drift audit reviews recent code changes on a schedule you set and fixes the most important undocumented change. It catches anything that merged before you connected EkLine or fell below the automatic threshold. ### Which platforms does EkLine work with to keep developer docs current? [Section titled “Which platforms does EkLine work with to keep developer docs current?”](#which-platforms-does-ekline-work-with-to-keep-developer-docs-current) EkLine connects to GitHub and GitLab to watch code changes and open documentation pull requests. It reads context from Jira and Linear tickets, and pulls supporting content from Slack, Notion, Confluence, and Google Drive. ### Does EkLine change my documentation without review? [Section titled “Does EkLine change my documentation without review?”](#does-ekline-change-my-documentation-without-review) No. EkLine drafts the update and opens a pull request. You review and merge it through your normal process before any change reaches your main branch. ### What kinds of documentation can EkLine keep in sync? [Section titled “What kinds of documentation can EkLine keep in sync?”](#what-kinds-of-documentation-can-ekline-keep-in-sync) README files, API references, how-to guides, getting-started guides, and knowledge-base pages. EkLine reads your existing docs and matches their style, terms, and structure. ## Next steps [Section titled “Next steps”](#next-steps) [Prevent documentation drift ](/agent/prevent-documentation-drift/)Set up automatic drift detection and a weekly scheduled audit [Automatic PR review ](/agent/automatic-pr-review/)Understand the confidence tiers that decide when EkLine acts [Update and review ](/agent/update-review/)Update docs on demand from a ticket or a code change [Automations ](/agent/scheduled-agents/)Automate recurring documentation maintenance tasks # Keep your team informed > Send a weekly report of EkLine's docs work and a brief of what shipped to Slack, using the EkLine Work Report and Release Marketing Brief automations. Two built-in automations post to Slack each week: a report of the docs work EkLine did, and a brief of the customer-facing changes that shipped. ## What each one produces [Section titled “What each one produces”](#what-each-one-produces) | | **EkLine Work Report** | **Release Marketing Brief** | | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | For | Docs leads, and whoever reviews EkLine’s pull requests | Marketing and customer success teams | | Covers | Pull requests EkLine opened in your docs repositories in the time window. Default: last 7 days. Maximum: 3 months. | Customer-facing changes that shipped in the lookback window. Default: last 7 days. | | Contains | Counts at a glance, then **Delivered**, **Awaiting your review** (with who each pull request is waiting on), **Set aside**, and **Notes** | Up to three changes, each with a headline, what it does, why it matters, and a docs link when the agent finds one, plus a count of smaller improvements | | Leaves out | Pull requests opened by anyone other than EkLine | Reverted changes, security fixes, work behind a feature flag that is not fully rolled out, internal changes, and docs-only changes | | Quiet week message | “EkLine had no documentation activity in this period.” | “No significant customer-facing changes shipped in this period.” | The agent writes each post, so the layout can vary from the one above. The work report runs as the Docs Agent and the brief as the Marketing Agent. Both are read-only: they do not open, change or close any pull request. In the work report, the agent @-mentions each reviewer in Slack when it can match their GitHub or GitLab account to a Slack user. It tries a mapping you give first, then email, then full name. Reviewers it cannot match are listed under **Notes** and are not notified. For the release brief, the agent reads whatever it can reach: merged pull requests, closed tickets, changelog files and release tags. ## Where results go [Section titled “Where results go”](#where-results-go) The agent posts the result to the channel you set under **Send a Slack notification**. Every result is also in the run’s session. If no post appears, open the session to see why. If Slack is not connected, the agent says so in the session and does not post. EkLine does not send a message when an automation runs, succeeds or fails, in Slack or by email. A run that fails or is skipped posts nothing. Check a run’s status in the automation’s **Runs** tab. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * Slack is connected: in **Settings** > **Integrations**, click **Connect** on the **Slack** card. See [Slack](/agent/slack-bot/). * For the work report, your docs repositories are selected under **Where EkLine writes**. See [Connect GitHub](/agent/github-app-setup/) or [Connect GitLab](/agent/gitlab-setup/). * For the brief, your organization has the Marketing Agent. If you don’t see the **Marketing** tab under **Automations**, contact . ## Steps [Section titled “Steps”](#steps) 1. Click **Automations** in the sidebar, then the **Releases and reports** tab. 2. On the **EkLine Work Report** card, click **Set up**. 3. Keep **Time window** at `last 7 days`, or change it, for example to `last 2 weeks`. 4. Under **Schedule**, keep the default of every week on Monday at 9:00 AM, or select another time. 5. Under **Notifications**, keep **Send a Slack notification** checked and enter the channel name. Leave **Raise a pull request** unchecked: the report changes nothing. 6. To make sure a reviewer is @-mentioned, add a mapping under **Additional instructions (optional)**, for example `Reviewer Slack IDs: jdoe → U0123ABCD`. 7. Click **Turn on**. 8. Repeat for **Release Marketing Brief** under the **Marketing** tab, with **Lookback window** and a channel your marketing team reads. The brief runs as the Marketing Agent, so its panel has no **Raise a pull request** option. To get either one once, outside its schedule, enter `/ekline-work-report` in a Docs Agent session or `/ekline-release-marketing-brief` in a Marketing Agent session, with the window and the channel, for example `/ekline-work-report last 2 weeks, post to #docs-team`. ## Check it worked [Section titled “Check it worked”](#check-it-worked) 1. Click **Edit** on the automation’s card, open the **Runs** tab, and click **Run now**. 2. When the run shows **Succeeded**, click its start time. The session shows the report and whether the Slack post went through. 3. Check the channel for the post. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Fix | | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The session says Slack is not connected and it skipped the post | Connect Slack in **Settings** > **Integrations**, then click **Run now**. | | The session says the post failed and the bot may not be a member of the channel | Add the EkLine app to the channel in Slack, then click **Run now**. | | A reviewer is listed under **Notes** instead of being @-mentioned | Add a mapping for their username under **Additional instructions (optional)**, as in step 6. | | The work report refuses the time window | It covers at most 3 months. Enter a shorter window. | | The run shows **Skipped** | The reason is under the run’s start time: your organization was out of credits (see [Credits and usage](/workspace/credits-and-usage/)), or, for the brief, the Marketing Agent is not enabled for your organization. | ## Next [Section titled “Next”](#next) * [Automations](/agent/scheduled-agents/): schedule, edit and turn off automations. * [Automation templates](/reference/automation-templates/): every built-in automation, including **Release Notes Generator**, which drafts release notes as a pull request. * [Slack](/agent/slack-bot/): ask EkLine for docs changes from a Slack thread. # Manage a Confluence or Pylon knowledge base > Use Docs Agent to keep a Confluence or Pylon knowledge base accurate: update pages across a space, improve articles, and publish changes back. Docs Agent helps internal teams keep a knowledge base accurate and up to date. Connect an internal Confluence space, such as an engineering or support team’s knowledge base, or a Pylon knowledge base used by your support team. The agent updates individual pages, maintains an entire space, and improves articles from sources like support tickets, then publishes the changes straight back to the source with no copying between tools. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * A connected Confluence or Pylon knowledge base with at least one space or knowledge base marked as managed (see [Connect your knowledge base](#connect-your-knowledge-base)). * Permission to edit the page or article you want to update. ## Connect your knowledge base [Section titled “Connect your knowledge base”](#connect-your-knowledge-base) An organization administrator connects the knowledge base once. The agent can then read from and write to the spaces or knowledge bases you select. If you don’t see **KB Management** under **Settings** > **Integrations**, contact . * Confluence 1. Connect Confluence under **Settings** > **Integrations**. 2. Go to **Settings** > **Integrations** > **KB Management**. 3. Enable **Manage Confluence**. 4. Select each Confluence space you want the agent to manage. Your changes save automatically. A **Saving…** indicator appears while each change saves, then changes to **Saved**. The agent can now read and update pages in the selected spaces, including [managing images](#manage-images-in-a-confluence-page) on them. * Pylon 1. Go to **Settings** > **Integrations** > **KB Management**. 2. Enable **Manage Pylon**. 3. Paste your **Pylon API token** and click **Connect**. 4. Select each Pylon knowledge base you want the agent to manage. 5. Set a **Default author**. New articles the agent creates are attributed to this Pylon user. Your changes save automatically. A **Saving…** indicator appears while each change saves, then changes to **Saved**. The agent can now read, update, and create articles in the selected knowledge bases. ## Step 1: Open the editor [Section titled “Step 1: Open the editor”](#step-1-open-the-editor) 1. Sign in to the [EkLine app](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. ## Step 2: Retrieve the page [Section titled “Step 2: Retrieve the page”](#step-2-retrieve-the-page) Ask the agent to fetch the page you want to update. The agent loads it into the editor panel as Markdown you can edit. * Confluence Paste the page URL: ```text Retrieve this Confluence page and fix the outdated CLI flags in the installation section: https://your-org.atlassian.net/wiki/spaces/ENG/pages/123456 ``` * Pylon Name the article, or list the knowledge base first: ```text List the articles in our Pylon knowledge base, then retrieve the "Resetting your password" article so I can update it. ``` ## Step 3: Review the retrieved content [Section titled “Step 3: Review the retrieved content”](#step-3-review-the-retrieved-content) Read through the page in the editor and confirm it matches what you expect to see in the knowledge base. Editing a page you retrieved keeps your changes scoped to that page. ## Step 4: Edit with follow-up prompts [Section titled “Step 4: Edit with follow-up prompts”](#step-4-edit-with-follow-up-prompts) Refine the page by continuing the conversation. The agent keeps the context from your first prompt, so you can build on the content incrementally. You can also edit directly in the editor panel. * Update a section ```text Rewrite the "Requirements" section to list the new minimum version, and add a note about the deprecated config option. ``` * Improve clarity ```text Tighten the troubleshooting steps into a numbered list and remove the duplicated paragraph about cache clearing. ``` * Add from a source ```text Add a new FAQ entry based on this Slack thread: https://workspace.slack.com/archives/C01234/p1234567890 ``` ## Step 5: Publish your changes [Section titled “Step 5: Publish your changes”](#step-5-publish-your-changes) When the page is ready, publish it back to the source. 1. Enable **View All Changes** in the toolbar to review a diff of your edits. 2. Make any final adjustments in the editor panel. 3. Click **Update KB**. The chat box fills with `Publish my knowledge base edits`. Press **Enter** to send it, and the agent publishes your edits. The **Update KB** button replaces **Raise PR** when you work on a knowledge base, because there is no pull request to open. Your approval publishes the edits to the source instead. Caution Publishing overwrites the live page immediately. Your edited content replaces Confluence pages, and Pylon articles update in place. Review the diff before you publish. For Pylon, publishing does not change whether an article is listed as published or unpublished. ## Verify the update [Section titled “Verify the update”](#verify-the-update) Confirm the change reached the source: * **Open the live page.** The Confluence page or Pylon article shows your edits. * **Check the structure.** Headings, tables, and links render the way they did before, with your changes applied. * **Confirm the diff matched.** What you reviewed under **View All Changes** is what appears on the live page. ## Manage images in a Confluence page [Section titled “Manage images in a Confluence page”](#manage-images-in-a-confluence-page) On a Confluence page, the agent works with images as well as text. It can add a new image, replace an existing one, or remove an image. It displays each image inline in the editor as you work, so you see the page the way it renders in Confluence. The agent adds any image it can produce or find during a session. For example, ask it to [capture a screenshot from a video](/agent/screenshots-from-video/) or from [browsing an authenticated page](/agent/sandbox/), then place that screenshot on the page: ```text Retrieve this Confluence page, then browse to our dashboard, take a screenshot of the Settings panel, and add it under the "Settings" heading: https://your-org.atlassian.net/wiki/spaces/ENG/pages/123456 ``` To swap or clean up existing images, describe the change: * Replace an image ```text Replace the outdated dashboard screenshot with a fresh capture of the current dashboard. ``` * Remove an image ```text Remove the second screenshot in the "Overview" section. It no longer matches the UI. ``` Images change on the live page only when you publish. When you publish with **Update KB**, the agent uploads the images you added as attachments before it updates the page, and deletes the attachments for any images you removed. If you close the editor or start a different task without publishing, the Confluence page and its attachments stay untouched. ## Maintain the whole knowledge base [Section titled “Maintain the whole knowledge base”](#maintain-the-whole-knowledge-base) The same workflow scales beyond a single page. Point the agent at a managed space or knowledge base, and it can review many pages at once, apply consistent updates, and, in Pylon, create new articles. You publish each change back with **Update KB**. * Audit a space ```text Review the Engineering space for pages that still reference the old deployment command. Update each one to the new command and summarize what you changed. ``` * Improve from support tickets ```text Our support team keeps answering the same question about SSO setup. Draft a new help center article that covers it, based on this thread: https://workspace.slack.com/archives/C01234/p1234567890 ``` * Keep articles current ```text Compare the "Billing FAQ" article against the latest pricing page and update any answers that are out of date. ``` Review each change under **View All Changes** before you publish. For new Pylon articles, the agent uses the default author you set in **KB Management**. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause | Fix | | -------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | | The space or knowledge base isn’t available to the agent | It isn’t marked as managed, or the integration isn’t connected | Enable it under **Settings** > **Integrations** > **KB Management** and confirm you selected the space or knowledge base | | The agent can’t retrieve a page | The connected account lacks permission, or the URL is wrong | Verify you can open the page yourself, then paste the exact page URL | | The **Update KB** button is disabled | There are no changes to publish | Make an edit first. The button is enabled once the page differs from the retrieved version | | A new Pylon article can’t be created | No default author is set | Set a **Default author** under **Settings** > **Integrations** > **KB Management** | | Publishing a Confluence page with an image fails | Confluence was connected before image management was available | Reconnect Confluence under **Settings** > **Integrations**, then publish again | ## Next steps [Section titled “Next steps”](#next-steps) * [Update and review](/agent/update-review/): keep documentation in sync with code changes. * [Integrations](/agent/integrations/): reference Slack, Notion, Linear, and more in your prompts. * [Customize for your organization](/agent/custom-instructions/): match your knowledge base’s tone and structure with custom instructions. # Connect an MCP client > Start and monitor EkLine agent sessions from Claude Code, Claude on the web, Cursor, or another MCP client that can send a request header, using a personal API key. EkLine serves a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server, so you can work with EkLine from your own AI client without switching to the web app. Describe what you want to your client (Claude Code, Claude on the web, Cursor, or another) and it calls EkLine for you: start an agent session, find past work, ask how a feature works, or set your organization up. For every tool and its parameters, see [MCP tools](/reference/mcp-tools/). ## Prerequisites [Section titled “Prerequisites”](#prerequisites) * You are a member of an EkLine organization. * You use an MCP client that connects over HTTP and lets you set a request header. Claude Code, Claude on the web, Claude Desktop and Cursor all qualify. See [Supported clients](#supported-clients). ## Create a personal API key [Section titled “Create a personal API key”](#create-a-personal-api-key) Your client authenticates with a personal API key. The key acts as you, in one organization: every session you start through it is recorded under your name, and no other member can see or use it. 1. Open **Settings** > **Profile** > **Personal API keys**, or go directly to [your API keys](https://ekline.io/settings/profile/api-keys). 2. Confirm the organization named on the page is the one you want the key to act in. A key works in a single organization. To create a key for another organization, switch to it first. 3. Click **Create key**. Under **What is it for?**, enter a name you will recognize later, such as `Claude Code on my laptop`, and click **Create key**. 4. The **Set up your client** dialog shows the key once, inside a setup snippet for each client. Click your client’s tab, click **Copy setup**, and keep the snippet somewhere safe, such as a password manager. Then click **Done**. Caution The key is shown once, at creation, and never again. If you lose it, revoke it and create a new one. A key looks like `ek__`. The `` half is not secret (you see it in your key list long after the secret is gone), but the whole value is a credential. Treat it like a password and never commit it to a repository. ## Add EkLine to your client [Section titled “Add EkLine to your client”](#add-ekline-to-your-client) The **Set up your client** dialog gives you a setup snippet for each client with your key filled in. After you close it, the **Connecting a client** section of the API keys page shows the same snippets with `YOUR_KEY` where the key goes. Use the snippet for your client and follow the instructions below. The server URL is `https://ekline.io/api/mcp`. * Claude Code Run this in your terminal, then open a new session, since Claude Code loads MCP servers at start: ```bash claude mcp add --transport http ekline \ https://ekline.io/api/mcp \ --header "Authorization: Bearer ek__" ``` * Cursor Add this to `.cursor/mcp.json`, in your home folder or your project: .cursor/mcp.json ```json { "mcpServers": { "ekline": { "url": "https://ekline.io/api/mcp", "headers": { "Authorization": "Bearer ek__" } } } } ``` * Other clients Any client that lets you set a request header works, including VS Code and Windsurf. Point it at the server URL and send your key as a bearer token: ```text Server URL https://ekline.io/api/mcp Header Authorization: Bearer ek__ ``` Once the client reconnects, it lists the EkLine tools. That confirms your key resolved and the server is reachable. ### Connect from Claude on the web or Claude Desktop [Section titled “Connect from Claude on the web or Claude Desktop”](#connect-from-claude-on-the-web-or-claude-desktop) Claude on the web and Claude Desktop do not take the command line setup. Add EkLine as a custom connector instead, with your key sent as a request header. Both use the same connector dialog. Request headers is not on every plan Claude shows **Request headers** only for some organizations, as a beta. If you do not see it, your plan cannot use an API key yet. On Team and Enterprise plans, the Owner adds the connector and every member uses the Owner’s key, so EkLine records every change made through it under the Owner’s name. 1. Open **Settings** > **Connectors** and click **Add** > **Add custom connector**. 2. Give the connector a name, such as `ekline`, enter the server URL `https://ekline.io/api/mcp`, and click **Continue**. ![The Add custom connector dialog in Claude settings, with the connector named ekline and the server URL https://ekline.io/api/mcp entered](/assets/images/claude-add-custom-connector.png) 3. Under **Authentication**, select **No sign-in**. Claude detects this for EkLine, which authenticates with a key rather than a sign-in flow. 4. Under **Request headers**, add a header named `Authorization` with the value `Bearer ek__`, then click **Connect**. ![The custom connector authentication panel in Claude with No sign-in selected and an Authorization request header set to a Bearer token](/assets/images/claude-connector-no-signin-header.png) The EkLine tools then appear under the connector’s **Tool permissions**, which confirms your key resolved. ## Start a session [Section titled “Start a session”](#start-a-session) Ask your client to use the `create_session` tool, and describe the task in your own words, including any references you have, such as a pull request, a ticket, or a doc path. For example: > Use EkLine to document the retry behavior added in PR #4821. The reasoning is in the linked ticket. The tool takes two inputs: | Input | Required | Description | | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------ | | `prompt` | Yes | The task, in your own words, including the reasoning behind it. | | `agent` | No | Which agent runs the session: `docs` (the default) for documentation work, or `marketing` for a Marketing Agent session. | `create_session` returns a session id and a link to follow the work in the app. The session appears in EkLine with you as its author. ## Check how a session is going [Section titled “Check how a session is going”](#check-how-a-session-is-going) Ask your client to use the `get_session_status` tool with the session id that `create_session` returned. It reports the current status and the session’s most recent messages, so your client can tell you what the agent is working on rather than only that it is busy. The status is one of: | Status | Meaning | | ----------- | -------------------------------------------------------------------------------------------------- | | `working` | The agent is still running the session. | | `completed` | The session finished successfully. | | `failed` | The session ran into a problem, or has had no activity for more than 15 minutes without finishing. | | `cancelled` | The session was stopped. | Ask for the status whenever you want an update, including while the session is still running. A session keeps running to completion even after `create_session` returned, so checking in does not interrupt it. To open the session yourself, follow the link in either tool’s response. Docs sessions open in the editor; marketing sessions open in the Marketing Agent. ## Redirect a running session [Section titled “Redirect a running session”](#redirect-a-running-session) A session does not end when `create_session` returns. To correct a running session, add a requirement, or hand it a reference you left out, ask your client to use the `send_session_message` tool with the session id and your message: > Tell session abc123 to also cover the retry limits, which are in the linked ticket. The tool takes two inputs: | Input | Required | Description | | ----------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | `sessionId` | Yes | The session to send the message to. Use the id that `create_session` returned, or copy it from your [session list](/agent/find-sessions/). | | `prompt` | Yes | What to tell the agent, in your own words, including the reasoning behind it. | The message joins the session you named rather than starting a new one. If the session id is wrong, the tool reports that the session was not found instead of creating one. ## Find your sessions [Section titled “Find your sessions”](#find-your-sessions) Ask your client to use the `list_sessions` tool to see your organization’s recent sessions: what each was asked to do and when it was last active. Many sessions list no pull request even when they opened one. To check, call `get_session_details` with the session id, or open the session. Use it before you start a new session, to check whether the work is already under way. Paste a pull request, merge request, Jira, or session link and the tool returns the sessions related to it, or describe what you are looking for in plain words. `list_sessions` does not report whether a session is still running. It shows when a session was last active and whether someone marked it done. To read a session’s live status, call `get_session_status` with its id. ## Read a session in full [Section titled “Read a session in full”](#read-a-session-in-full) Ask your client to use the `get_session_details` tool with a session id. It returns what the session was asked, where it came from (the editor, Slack, or a scheduled job), the pull requests it opened, and its conversation, oldest first. Each pull request shows its number, title, state, link, and the branch it went into. The state is the one EkLine last recorded, and the answer says when that was. Use it with `list_sessions` to check what earlier work did before you repeat it. For example, before you ask for a guide, check whether an earlier run of a scheduled job already wrote it. A long conversation comes back with messages from the middle left out. The request and the last report are always included, and the answer says how many messages were left out. To read the rest, open the session. To follow a session that is still running, use `get_session_status` instead. ## Read a report from a link [Section titled “Read a report from a link”](#read-a-report-from-a-link) Paste a link to a journey, one of its reports or runs, a [collection](/journeys/collections/) or one of its reports, or a shared report into your client and ask what it says. Your client reads it with the tool that matches the link, such as `get_journey_report` or `get_collection_report`. For example: > What does this report say about how often we’re recommended, and what should we fix first? The tools read reports from your own organization only. A link from another organization, or a shared link that was turned off, reads as not found. Reading a report doesn’t change it. A collection run that’s still going shows how many answers are in, and its written summary appears after the run finishes. If your client doesn’t list these tools, contact . See [MCP tools](/reference/mcp-tools/#journeys-tools) for every journeys and collections tool. ## Create, run and share a collection [Section titled “Create, run and share a collection”](#create-run-and-share-a-collection) Ask your client to group published journeys into a [collection](/journeys/collections/) with `create_collection`, rename it or change its journeys with `update_collection`, and run it with `run_collection`. A run sends each journey’s questions to the AI agents it names and uses credits, so ask for one only when you want it. When it finishes, read the report with `get_collection_report`. To share a finished report with someone outside EkLine, ask for a link: `share_collection_report` returns the report’s link, and anyone with it can open the report without signing in. To turn a link off, open the report in EkLine and click **Share**, then **Stop sharing**. EkLine’s own agents can create, change and run collections, but only you can make a share link. The Buyer questions collection’s journeys can’t be changed. To delete a collection, use EkLine. ## Add reference documents [Section titled “Add reference documents”](#add-reference-documents) Ask your client to add a [reference document](/agent/reference-documents/) from text with `add_knowledge_base_document`, such as a product brief or a glossary in Markdown, and to list your reference documents with `list_knowledge_base_documents`. A document added this way is processed like an uploaded file: EkLine gives it a title and a summary. Both agents use it in sessions that start after it’s ready, and the list shows whether each document is ready. The tool refuses text that’s already a reference document. To add a file that isn’t text, such as a PDF or a Word document, or to delete a document, use **Settings** > **Organization** > **Knowledge Base**. EkLine’s own agents can list your reference documents, but only you can add one. If your client doesn’t list these tools, contact . ## Ask about EkLine [Section titled “Ask about EkLine”](#ask-about-ekline) Ask your client to use the `search_ekline_docs` tool with a question about EkLine, such as how a feature works or what a reviewer rule means. It returns the relevant sections of the product documentation and a link to each page, so your client answers from the docs rather than from memory. ## Set up your organization [Section titled “Set up your organization”](#set-up-your-organization) Two tools write settings that apply to your whole organization, not only the current session. Sessions that start after the change use them. Caution `update_company_profile` and `create_rules` change organization-wide settings and take effect immediately, with no review step. Ask for a change only when you intend every member’s sessions to use it. ### Set the company profile [Section titled “Set the company profile”](#set-the-company-profile) Ask your client to use the `update_company_profile` tool to set your organization’s [company profile](/agent/company-profile/). The Marketing Agent reads it in every session, and the Docs Agent reads it when company context is turned on for your organization. The tool sets these fields: | Field | What it describes | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | `companyProfile` | What your company does. | | `domain` | Your company’s website, such as `acme.com`, without `https://` or `www.`. Journeys reports use it to recognize your pages. Agents don’t read it. | | `keyFeatures` | The product capabilities worth naming. | | `audience` | Who your documentation is written for. | | `competitors` | Who your company is compared against, in your own words. The named competitor list is changed as described in the next section. | | `toneAndVoice` | How your documentation should sound. | | `visualStyle` | How images the agents make should look: your brand colors, one per line as a role and a hex code (`Primary: #cb2e2f`), then any notes on style. | | `additionalContext` | Anything else the agent should know. | Each field you set replaces its current value in full. Fields you leave out keep their current value, and the tool reports what each changed field held before, so you can confirm the result. To clear a field, use EkLine settings. Because each field you set replaces the old value, ask your client to read the profile with `get_company_profile` first. See and change the company profile in **Settings** > **Organization** > **Company Profile**. If you don’t see it, contact . ### Change brand names, competitors, personas and documentation sites [Section titled “Change brand names, competitors, personas and documentation sites”](#change-brand-names-competitors-personas-and-documentation-sites) Ask your client to use the `update_company_profile` tool to add or change rows in your company profile’s **Brand names**, **Competitor profiles**, **Personas** and **Documentation sites**. Name the row you want changed as it appears in your profile. For example: > Rename the brand name Acme Cloud to Acme Platform, add Globex and Initech as competitors, and rewrite the Support Lead persona to say they answer tickets but don’t change billing. The tool makes every change you ask for in one request or none of them, including changes to the fields above. If one change can’t be made, such as a persona name that doesn’t exist or a competitor that’s already listed, it changes nothing and says which change failed and why. When the changes are made, it reports each row as it was and as it is now. The agents read these rows with the rest of your company profile, and [Journeys](/journeys/) reports use your brand names and competitor profiles to find your company and its competitors in AI answers. To remove a row or clear a field, use EkLine settings. See [MCP tools](/reference/mcp-tools/#named-entity-changes) for the fields each row takes. ### Add a rule [Section titled “Add a rule”](#add-a-rule) Ask your client to use the `create_rules` tool to add a standing instruction the agents follow. Give it a name, the instruction itself, and the type of rule: * A **general** rule (the default) applies to every task the agent works on. * A **review** rule is applied to every documentation change the agent makes before it opens or updates a pull request. You can also pass file globs, such as `docs/**/*.mdx`, to limit a rule to matching files. Omit them to apply the rule everywhere. `create_rules` only adds rules. If you ask for a rule whose name your organization already uses, the tool refuses and names the existing rule rather than creating a duplicate. To change, disable, or delete a rule, use EkLine settings. Manage rules in **Settings** > **Docs Agent** > **Rules**. ## How keys and attribution work [Section titled “How keys and attribution work”](#how-keys-and-attribution-work) * **Keys are personal.** A session you start through your key is recorded under your name in the app, the same as a session you start in the web app. * **Membership is checked on every call.** If you leave an organization, your keys for it stop working on the next request, and you do not need to revoke them first. * **Revoking takes effect immediately.** To revoke a key, open your **Personal API keys** page and click **Revoke** next to it. The key stays in your list, marked revoked, and stops authenticating on its next use. * **Your key is never forwarded.** EkLine does not pass it to the agent. ## Supported clients [Section titled “Supported clients”](#supported-clients) | Client | Supported | | ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | Claude Code | Yes | | Claude on the web | Yes, as a custom connector. See [Connect from Claude on the web or Claude Desktop](#connect-from-claude-on-the-web-or-claude-desktop). | | Claude Desktop | Yes, as a custom connector. See [Connect from Claude on the web or Claude Desktop](#connect-from-claude-on-the-web-or-claude-desktop). | | Cursor | Yes | | ChatGPT | Not yet. ChatGPT connectors sign in with OAuth 2.1 and do not accept an API key. | | Other clients that let you set a request header (VS Code, Windsurf, and others) | Yes | ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Symptom | Cause and fix | | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The client lists no EkLine tools | The key did not resolve. Check that the `Authorization` header reads `Bearer` followed by your full key, that the key is not revoked, and that you are still a member of the organization it was created for. A revoked, removed, or unknown key all produce an empty tool list. | | The `claude mcp add` command does not work in a browser | That command sets up the Claude Code command line. In Claude on the web or Claude Desktop, add EkLine as a custom connector instead. See [Connect from Claude on the web or Claude Desktop](#connect-from-claude-on-the-web-or-claude-desktop). | | `create_session` returns an error about reaching EkLine | EkLine could not be reached and no session was started. Try again. | | `create_session` reports a session was accepted but its id did not arrive | The session is running but its id did not return in time. Find it in your [session list](https://ekline.io/) rather than starting another one. | | `get_session_status` says it could not read the session | EkLine could not be reached to read the session. The session may still be running, so try again rather than starting a new one. | | `get_session_details` says it could not read the session’s pull requests | EkLine could not read them this time. It does not mean the session opened none. Try again before you rely on the answer. | | `send_session_message` says the session was not found | The session id is wrong, or the session belongs to another organization. Check the id in your [session list](/agent/find-sessions/). | | `send_session_message` returns an error about reaching EkLine | EkLine could not be reached and the message was not sent. Try again. | ## Next steps [Section titled “Next steps”](#next-steps) * [Find a past session](/agent/find-sessions/). Search your history or paste a link to reopen any session. * [Getting started with Docs Agent](/agent/getting-started/). Create your first document in the editor. * [Update and review](/agent/update-review/). Resume a session to keep docs in sync with code changes. # Organization memory > How EkLine's agents keep notes between sessions for your organization, who writes them, and how they differ from custom instructions. Organization memory is the notes EkLine’s agents keep between sessions. A later session can start from what earlier ones learned about your organization. ## Who writes it [Section titled “Who writes it”](#who-writes-it) The agent writes it. While it works, the agent saves notes it expects to need again, and later sessions read them. You don’t write or approve these notes. No one has to turn memory on. ## What it is shared across [Section titled “What it is shared across”](#what-it-is-shared-across) Your organization has one memory. Every session reads and writes it: * Both agents: Docs Agent sessions and Marketing Agent sessions use the same memory. * Every way a session starts: the editor, a GitHub pull request, a GitLab merge request, Slack, Discord, a Jira ticket, an automation or a Journeys report. * Every member: a note saved in your session can shape a teammate’s session later. Memory is kept on EkLine’s servers. Each organization has its own, and a session uses only its own organization’s memory. For how EkLine handles your data, see the [Trust Center](https://ekline.io/trust-center). ## What you can and can’t do with it [Section titled “What you can and can’t do with it”](#what-you-can-and-cant-do-with-it) You can’t view or edit organization memory in the app today. There is no page for it in **Settings**, and it is not shown in the editor. If an agent acts on something wrong or out of date, put the correct rule in [Custom instructions](/agent/custom-instructions/). The agent follows them in every new session. ## How it differs from Custom instructions [Section titled “How it differs from Custom instructions”](#how-it-differs-from-custom-instructions) | | Organization memory | Custom instructions | | ----------------------- | ---------------------------------------- | ---------------------------------- | | Who writes it | The agent | You | | Can you see and edit it | No | Yes, under **Settings** | | Which agents | Both agents share one memory | Each agent has its own | | Best for | Details the agent picks up while working | Rules you want followed every time | Use [Custom instructions](/agent/custom-instructions/), [Company Profile](/agent/company-profile/) and [repository notes](/agent/reference-documents/) for anything you want to control. Treat memory as the agent’s own notes, not as a setting. ## FAQ [Section titled “FAQ”](#faq) ### Why does the agent remember something from another session? [Section titled “Why does the agent remember something from another session?”](#why-does-the-agent-remember-something-from-another-session) Every session in your organization shares one memory, across both agents and every member. A note one session saved can appear in another. ### Can I see what is in memory? [Section titled “Can I see what is in memory?”](#can-i-see-what-is-in-memory) No. The app has no view of organization memory today. ### Can I delete or correct a memory? [Section titled “Can I delete or correct a memory?”](#can-i-delete-or-correct-a-memory) Not directly. Put the correct rule in [Custom instructions](/agent/custom-instructions/) for the agent that got it wrong. ### Does memory replace Custom instructions? [Section titled “Does memory replace Custom instructions?”](#does-memory-replace-custom-instructions) No. Memory is what the agent noted for itself. Custom instructions are what you tell it, and you can read and change them at any time. ### Is memory shared with other organizations? [Section titled “Is memory shared with other organizations?”](#is-memory-shared-with-other-organizations) No. Each organization has its own memory. # Prevent documentation drift > Set up automatic drift detection and a weekly scheduled review so your documentation stays in sync as code changes. Documentation drift is the gap that opens each time a PR merges without a matching docs update. Two safeguards catch it: | Safeguard | When it runs | What it does | | ------------------------- | -------------------- | ------------------------------------------------------------------------------------- | | **Automatic PR review** | When a PR opens | Analyzes the diff and triggers a docs update when EkLine detects documentation impact | | **Scheduled drift audit** | On a cadence you set | Reviews recent code activity and fixes the highest-priority undocumented change | ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * Automatic PR review, which is on by default, and Automations. If you don’t see **Automations** in the sidebar, contact . * The [EkLine GitHub App connected](/agent/github-app-setup/), with your docs repository selected under **Where EkLine writes** and the repository where code changes land selected under **What else EkLine can read**. ## Step 1: Verify automatic PR review is enabled [Section titled “Step 1: Verify automatic PR review is enabled”](#step-1-verify-automatic-pr-review-is-enabled) Automatic PR review runs only on repositories that are selected and monitored. Confirm monitoring is on for the repository where code changes land. 1. Go to your [EkLine dashboard](https://ekline.io/dashboard). 2. Go to **Settings** > **Integrations** > **GitHub Integration**. 3. Find the repository where code changes land, under **What else EkLine can read** (or **Where EkLine writes**), and confirm its **Enable monitoring** toggle is on. 4. If the toggle is off, enable it. EkLine saves the change immediately. By default, EkLine reviews pull requests into the repository’s default branch. It skips drafts and pull requests from common bots. It posts a comment when it finds docs impact. To change which pull requests it reviews, see [review rules](/agent/review-rules/). ## Step 2: See it detect a real change [Section titled “Step 2: See it detect a real change”](#step-2-see-it-detect-a-real-change) To confirm automatic PR review works, open a pull request with a code change that affects your docs. 1. Open a pull request against a monitored repository. Use a change that clearly affects your docs, such as adding a new API endpoint, renaming a configuration option, or removing a deprecated feature. 2. Make sure the PR is **ready for review** and not a draft. 3. Wait about 30 seconds. EkLine reads the diff, title, and description. Then it compares the changes with your docs. 4. Check the PR comments. EkLine posts one of the following: | Result | What it means | | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | No comment | Low confidence: the change likely does not affect documentation | | Suggestion comment | Medium confidence: EkLine suggests a docs update and mentions `@ekline-ai` so you can start it yourself | | Auto-trigger comment | High confidence: the comment starts the Docs Agent on the update. EkLine replies with a link to the session, and the agent opens a docs PR. | If EkLine posts a comment, automatic drift detection is working. ## Step 3: Set up a weekly scheduled drift audit [Section titled “Step 3: Set up a weekly scheduled drift audit”](#step-3-set-up-a-weekly-scheduled-drift-audit) Automatic PR review catches impact as PRs open. The drift audit catches what it missed: changes that merged before you connected EkLine, and changes it did not rate High. 1. Click **Automations** in the sidebar. 2. Find **Docs Drift Review** under the **Accuracy** tab, or enter its name in **Search**. 3. Click **Set up** on its card. 4. In **Lookback window**, enter how far back each run looks, for example `last 30 days`, or `last 7 days` for a tighter weekly cadence. The field starts empty, and the automation cannot turn on until you fill it in. 5. Under **Schedule**, keep the default of every week on Monday at 9:00 AM, or change **Repeat every**, **Repeat on** and **At**. Monday morning is a common choice. It sweeps last week’s changes before your team starts new work. 6. Under **Notifications**, keep **Raise a pull request** checked, so the agent opens a PR with the docs fix. 7. **Send a Slack notification** is also checked. Enter your docs channel name, for example `docs-team`, and the agent posts a run summary there each week. Or clear the checkbox. 8. Click **Turn on**. The **Docs Drift Review** card now shows its toggle on, and the automation runs at the next scheduled time. ## Verify the setup [Section titled “Verify the setup”](#verify-the-setup) Confirm both safeguards are active: * [ ] **Enable monitoring** is on for the repository where code changes land, in **Settings** > **Integrations** > **GitHub Integration**. * [ ] The **Docs Drift Review** card on the **Automations** page has its toggle on. To see the automation’s output, click **Edit** on its card and open the **Runs** tab. Under **Recent runs**, click a run’s start time to open the full Docs Agent session. To get a run before the first scheduled time, click **Run now** on the same tab. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | EkLine never comments on PRs | Check that the GitHub App is installed on the repository. Check that the repository is selected under **Where EkLine writes** or **What else EkLine can read**, and that **Enable monitoring** is on. EkLine skips draft PRs by default, so mark them ready for review. A Low assessment posts no comment. | | Auto-trigger fired but no docs PR appeared | The agent may still be working. Wait up to a minute, then open the session from the link in EkLine’s reply on the PR. If **Auto-create documentation PRs** is off in the repository’s review rules, the drafts wait in the editor instead. | | An automation run shows **Failed** | On the automation’s **Runs** tab, click the run’s start time to open the full session. Common causes: the repository is no longer accessible, or there were no code changes in the audit window. | | Docs PR from drift review is off-target | Comment on the docs PR and mention `@ekline-ai` with feedback. The agent resumes the session and pushes corrections. | ## Next steps [Section titled “Next steps”](#next-steps) * [Automatic PR review](/agent/automatic-pr-review/): understand the confidence tiers and what each detection level means. * [Automations](/agent/scheduled-agents/): explore the full template library for recurring documentation tasks. * [GitHub PR bot](/agent/github-integration/): trigger documentation sessions manually from a PR comment. * [Create documentation](/agent/create/): generate READMEs, API references, and guides from your codebase. # Docs Agent reference: file types, limits, and FAQ > Docs Agent reference: the files you can upload and their limits, how long sessions last, fixes for common problems, and answers to frequent questions. ## Supported file types [Section titled “Supported file types”](#supported-file-types) Upload files to give the agent more context. Click the attachment icon in the chat panel and select your files. ### Documents [Section titled “Documents”](#documents) | Category | Formats | Max size | | ---------------------- | ------------------------------------------------------------------------------------------- | -------- | | Text and markup | `.txt`, `.md`, `.markdown`, `.csv`, `.html`, `.htm`, `.adoc`, `.asciidoc`, `.tex`, `.latex` | 50 MB | | Data and configuration | `.json`, `.yaml`, `.yml`, `.toml`, `.log`, `.sql`, `.ini`, `.config` | 50 MB | | Office | `.doc`, `.docx`, `.xls`, `.xlsx`, `.ppt`, `.pptx`, `.rtf` | 50 MB | | PDF | `.pdf` | 50 MB | | Images | `.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`, `.tiff`, `.tif`, `.bmp` | 50 MB | ### Code files [Section titled “Code files”](#code-files) | Language | Formats | Max size | | ----------------------- | ---------------------------------------------------------------------------------------------- | -------- | | Python | `.py`, `.ipynb` | 50 MB | | JavaScript / TypeScript | `.js`, `.jsx`, `.ts`, `.tsx`, `.css` | 50 MB | | JVM | `.java`, `.kt`, `.kts`, `.scala` | 50 MB | | C family | `.c`, `.cpp`, `.cxx`, `.h`, `.hpp`, `.cs` | 50 MB | | Systems and scripting | `.rs`, `.go`, `.rb`, `.php`, `.swift`, `.dart`, `.lua`, `.pl`, `.pm`, `.t`, `.m`, `.r`, `.rmd` | 50 MB | | Shell | `.sh`, `.bash`, `.zsh` | 50 MB | ### Video [Section titled “Video”](#video) | Formats | Max size | | -------------------------------------------------------- | -------- | | `.mp4`, `.webm`, `.mov`, `.avi`, `.mpeg`, `.mpg`, `.ogg` | 500 MB | ### Processing notes [Section titled “Processing notes”](#processing-notes) * **Text-based PDFs**: The agent extracts the text directly. * **Scanned PDFs**: The agent processes these with optical character recognition (OCR), which may take longer. * **Images**: The agent sees the image content directly. You can use images as visual context or [insert them into your documentation](/agent/create/#from-screenshots-and-images) as files. * **Code, data, and configuration files**: Content is extracted as plain text. Files larger than 500,000 characters are truncated with a marker indicating where the content was cut. * **Video**: The agent transcribes and summarizes the content; processing time varies with length. ### Binary files in the editor [Section titled “Binary files in the editor”](#binary-files-in-the-editor) When the agent inserts an image into your repository, select the file in the editor panel to preview it, and click the preview to open it larger. Other binary files appear as placeholders instead, but the agent adds the correct markdown reference in the surrounding document either way. Binary files commit when you [create a pull request](/agent/update-review/#create-a-pull-request). ## Session history [Section titled “Session history”](#session-history) Each conversation with Docs Agent is a session, whether you start it in the editor, from a [GitHub pull request comment](/agent/github-integration/), or from a [Slack @mention](/agent/slack-bot/). EkLine keeps your sessions so you can return to them later instead of starting over. Sessions stay resumable for 90 days from your last activity. Each time you interact with a session, the 90-day window restarts, so active conversations stay available as long as you keep using them. Resuming a session keeps its full context. The agent remembers earlier messages, uploaded files, and the documentation it generated. How you resume depends on where the session runs: * **Editor**: Reopen the session from the **Sessions** section in the sidebar and continue the conversation. * **GitHub**: Mention `@ekline-ai` again on the same pull request. The agent resumes the existing session instead of starting a new one. * **Slack**: Reply in the same thread with a follow-up `@EkLine` mention. The bot continues the same session. After 90 days of inactivity, a session expires. When you try to resume an expired session, EkLine tells you the session is no longer available, and you can start a new session to continue your work. ## Limits [Section titled “Limits”](#limits) Upload limits | Limit | Value | | ------------------ | --------------------------- | | Document file size | 50 MB per file | | Video file size | 500 MB per file | | Extracted text | 500,000 characters per file | | Files per message | 20 | | Session history | 90 days from last activity | ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### The agent doesn’t understand the repository structure [Section titled “The agent doesn’t understand the repository structure”](#the-agent-doesnt-understand-the-repository-structure) Be more specific in your prompt: * Reference file paths: `"Look at src/api/auth.ts"` * Mention the framework: `"This is a Next.js project using App Router"` * Describe the architecture: `"API routes are in src/pages/api, components in src/components"` You can also add this kind of context permanently through [custom instructions](#can-i-give-the-agent-context-about-my-organization). ### Generated content doesn’t match the documentation style [Section titled “Generated content doesn’t match the documentation style”](#generated-content-doesnt-match-the-documentation-style) The agent learns from your existing docs. If styles are inconsistent, results may vary. Try: * Reference a specific doc as an example: `"Match the style of docs/getting-started.md"` * Be explicit about formatting: `"Use numbered steps, not bullet points"` * Specify tone: `"Technical but approachable, similar to Stripe's docs"` ### Integration content isn’t loading [Section titled “Integration content isn’t loading”](#integration-content-isnt-loading) Verify that: 1. The integration is connected in **Settings** > **Integrations**. 2. You have access to the Slack channel, Notion page, or ticket. 3. The URL or reference ID is correct. ### Pull request creation fails [Section titled “Pull request creation fails”](#pull-request-creation-fails) Verify that: * Your repository is connected to EkLine. * You have write access to the repository. * The branch you’re targeting exists. * The PR title is at least 5 characters. If the issue persists, contact ****. ### Video processing is slow or fails [Section titled “Video processing is slow or fails”](#video-processing-is-slow-or-fails) Video processing time depends on length. For a 10-minute video, expect 2 to 3 minutes of processing. If processing fails: * Verify that the file format is supported. * Check that the file is under 500 MB. * Try re-uploading the file. ## FAQ [Section titled “FAQ”](#faq) ### What repositories can Docs Agent access? [Section titled “What repositories can Docs Agent access?”](#what-repositories-can-docs-agent-access) Repositories connected to your EkLine organization. Manage repository access in **Settings** > **Integrations** > **GitHub Integration**. ### Does the agent modify files directly? [Section titled “Does the agent modify files directly?”](#does-the-agent-modify-files-directly) In the editor, no. The agent generates content that you review, edit, and then publish through a pull request. When you start the agent from a [GitHub PR comment](/agent/github-integration/) or a [Slack @mention](/agent/slack-bot/#automatic-pull-requests), it opens a docs PR on the documentation repository you set. You still review and merge the PR before changes reach your main branch. ### Can I use Docs Agent for private repositories? [Section titled “Can I use Docs Agent for private repositories?”](#can-i-use-docs-agent-for-private-repositories) Yes. The agent only accesses repositories you’ve connected and authorized. It respects your repository permissions. ### Can I give the agent context about my organization? [Section titled “Can I give the agent context about my organization?”](#can-i-give-the-agent-context-about-my-organization) Yes. Go to **Settings** > **Docs Agent** > **Custom instructions**. Use them for context the agent can’t get from your code. For example: how your docs are organized, which versions to support, or your company’s conventions. To say what each repository is for, add a [repository note](/agent/reference-documents/) under **Settings** > **Integrations**. Click **Save custom instructions** to apply changes. The agent uses your custom instructions in every new session for your organization. Any organization member can edit them, up to 20,000 characters. ### Can I package a workflow my team repeats? [Section titled “Can I package a workflow my team repeats?”](#can-i-package-a-workflow-my-team-repeats) Yes. Under **Settings** > **Docs Agent** > **Skills**, add a skill. A skill has a name, a description of when to use it, and the instructions to follow. Every new session gets your skills. To run one, type its slash command (`/`). The agent can also use a skill when your request matches its description. See [Package a workflow as a skill](/agent/custom-skills/). ### How does the agent know my documentation style? [Section titled “How does the agent know my documentation style?”](#how-does-the-agent-know-my-documentation-style) The agent reads your existing docs to learn their patterns: * Heading structure and hierarchy. * Code example conventions. * Terminology and voice. * File organization and naming. For best results, keep one style across your docs. You can also use [custom instructions](#can-i-give-the-agent-context-about-my-organization) to set preferences the agent can’t pick up from your code. ### What happens to uploaded files? [Section titled “What happens to uploaded files?”](#what-happens-to-uploaded-files) EkLine extracts the content of each file you upload for the agent to use, and links the file to your session. Each customer’s data is isolated and never used to train models. For details, see [Security and data](/workspace/security-and-data/) and the [EkLine Trust Center](https://ekline.io/trust-center). ### Can I stop the agent or send messages while it works? [Section titled “Can I stop the agent or send messages while it works?”](#can-i-stop-the-agent-or-send-messages-while-it-works) Yes. The button at the end of the chat input changes with what the agent is doing. It sends a message, stops the agent, or queues a follow-up. While the agent works, click it to stop the current turn. Its tooltip reads **Stop the agent**. Or type a follow-up and click it. The message waits until the current turn ends. See [Control the agent while it works](/agent/editor/#control-the-agent-while-it-works) for details. ### Can I use Docs Agent without creating a pull request? [Section titled “Can I use Docs Agent without creating a pull request?”](#can-i-use-docs-agent-without-creating-a-pull-request) Yes. Click **Copy** in the editor toolbar to copy the open file’s content. The PR workflow is optional. ### How does Docs Agent select reviewers for pull requests? [Section titled “How does Docs Agent select reviewers for pull requests?”](#how-does-docs-agent-select-reviewers-for-pull-requests) The agent uses two sources to assign reviewers: * **Default reviewers**: usernames your organization administrator sets in **Settings** > **Docs Agent** > **Reviewers**. The agent adds these reviewers to every PR it opens. * **Auto-assign reviewer**: on by default. The agent adds the person who started the session as a reviewer. For example, if someone asks for docs from Slack, the agent finds their GitHub username. If the session started from a code PR, the agent adds that PR’s author. The agent never adds bot accounts. If it can’t find a reviewer, it still opens the PR without one. ### How long can I resume a Docs Agent session? [Section titled “How long can I resume a Docs Agent session?”](#how-long-can-i-resume-a-docs-agent-session) You can resume a session for 90 days after your last activity. Each time you use a session, the 90 days start again, so a session you keep using stays available. See [Session history](#session-history) for how to resume a session from the editor, GitHub, or Slack. ## Get help [Section titled “Get help”](#get-help) For issues not covered here, contact **** with: * A description of what you’re trying to do. * The prompt you used. * Any error messages you received. * Screenshots if applicable. # Reference documents and repository notes > Upload reference documents and describe each repository so the Docs Agent and the Marketing Agent have context your code does not hold. Reference documents and repository notes give EkLine’s agents context that is not in your code: files you upload, and a short note on what each repository holds. | Context | Where you add it | Which agents read it | | ------------------- | ---------------------------------------------------------------------------------- | ------------------------------ | | Reference documents | **Settings** > **Organization** > **Knowledge Base** | Docs Agent and Marketing Agent | | Repository notes | **Settings** > **Integrations** > **GitHub Integration** or **GitLab Integration** | Docs Agent and Marketing Agent | ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * The **Knowledge Base** tab under **Settings** > **Organization**, for reference documents * A repository saved on your GitHub or GitLab integration, for repository notes Any member of your organization can upload and manage reference documents and edit repository notes. ## Upload a reference document [Section titled “Upload a reference document”](#upload-a-reference-document) 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Go to **Settings** > **Organization** > **Knowledge Base**. 3. In the **Upload Document** section, drag a file onto the upload area, or click it to select a file. You can upload PDF, Word, PowerPoint, Excel, Markdown, text, HTML, CSV, AsciiDoc, reStructuredText, image and SVG files. Each file can be up to 3 MB. Upload one file at a time. 4. Wait for the upload to finish. EkLine processes the document and adds it to the **Uploaded Documents** list with a generated title and a one-line summary. Markdown, text, HTML, CSV, AsciiDoc and reStructuredText files are always processed. PDF, Office, image and SVG files are always stored, but EkLine may not be able to read them yet. See [Troubleshooting](#troubleshooting). Both agents use your documents in every session started after the upload finishes. You can start the session in the editor or trigger it from a [GitHub pull request](/agent/github-integration/), [GitLab merge request](/agent/gitlab-integration/), or [Slack](/agent/slack-bot/). ## What to upload [Section titled “What to upload”](#what-to-upload) Upload context the agent can’t get from reading your code or existing docs: * **Product and feature briefs.** What a feature does and who it’s for. * **Terminology and glossaries.** Preferred terms, product names, and definitions. * **Architecture overviews.** How your systems fit together. * **Internal FAQs and support notes.** Answers your team already gives customers. Keep each document focused and current. The agent treats every uploaded document as accurate, so remove anything out of date. ## Manage your documents [Section titled “Manage your documents”](#manage-your-documents) The **Uploaded Documents** list shows every document available to the agent. From the list, you can: * **Preview** a document to confirm you uploaded the right file. * **Delete** a document you no longer want the agent to use. Caution Deleting a document is permanent. After you delete it, the agent stops using it in new sessions. ## Verify the agent uses a document [Section titled “Verify the agent uses a document”](#verify-the-agent-uses-a-document) 1. Open the editor and start a new session. 2. Ask the agent a question that only your uploaded document answers. For example, `"What does our onboarding service do?"` 3. Confirm the answer reflects the content of your document. If it doesn’t, check that the document finished processing and appears in the **Uploaded Documents** list. Then start a new session. ## Add a repository note [Section titled “Add a repository note”](#add-a-repository-note) A repository note says what one repository is for, such as what it holds and who reads it. Both agents get every note in every new session. They read a note as a description, not an instruction. 1. Go to **Settings** > **Integrations** > **GitHub Integration**. For a GitLab repository, go to **Settings** > **Integrations** > **GitLab Integration**. 2. Find the repository in your list of saved repositories. A repository without a note shows **Describe what this repository is**. 3. Click the pencil icon on the repository card. 4. Enter a note of up to 5,000 characters, then click **Save note**. A repository you have selected but not yet saved shows **A note can be added once this repository is saved**. Notes apply to sessions started after you save them. Repository notes describe one repository. For conventions that hold across all your repositories, such as spelling or heading style, use [custom instructions](/agent/custom-instructions/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### The Knowledge Base tab isn’t available [Section titled “The Knowledge Base tab isn’t available”](#the-knowledge-base-tab-isnt-available) If you don’t see **Settings** > **Organization** > **Knowledge Base**, contact **** with your organization name. ### The upload fails [Section titled “The upload fails”](#the-upload-fails) * Check the file type and size. The upload area shows **That file type isn’t supported.** or **That file is over 3 MB. Upload a smaller file.** when it can’t take a file. * Upload one file at a time. * If the error persists, contact **** with the filename and the error message shown. ### A document shows “Couldn’t process” or “Still processing” [Section titled “A document shows “Couldn’t process” or “Still processing””](#a-document-shows-couldnt-process-or-still-processing) The **Uploaded Documents** list shows the reason next to the document. **Couldn’t process: this file type isn’t enabled for your organization yet** means the file is stored but EkLine can’t read it yet. Contact **** to turn on that file type, then click **Retry**. For any other reason, or a document that stays at **Still processing**, click **Retry**. ### The agent doesn’t use an uploaded document [Section titled “The agent doesn’t use an uploaded document”](#the-agent-doesnt-use-an-uploaded-document) * Confirm the document appears in the **Uploaded Documents** list. * Start a new session. The agent picks up new documents in sessions started after the upload finishes. * If a processed document still isn’t used, reference documents may be off for your organization. Contact ****. ### A repository note isn’t reflected in a draft [Section titled “A repository note isn’t reflected in a draft”](#a-repository-note-isnt-reflected-in-a-draft) * Confirm you saved the note on the correct repository card. * Repository notes apply to sessions started after you save. Start a new session to pick up a change. * Make the note specific about what the repository contains and who reads it. ## Next steps [Section titled “Next steps”](#next-steps) * [Custom instructions](/agent/custom-instructions/): Set the conventions each agent follows in every session. * [Company Profile and Domains](/agent/company-profile/): Describe your company, brand names, audiences and voice. * [Create documentation](/agent/create/): Generate READMEs, API references, and guides. * [Docs Agent reference](/agent/reference/): Supported file types, limits, and FAQ. # Keep documentation screenshots up to date > Set up Docs Agent to recapture stale documentation screenshots from your live product, on demand and on a recurring schedule. The Docs Agent can recapture stale documentation screenshots from your live product. First, run a one-off refresh yourself to confirm the agent captures your product correctly. Then, use an automation to keep the images current. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * Automations and the **Sandbox** tab turned on for your organization. If you don’t see **Automations** in the sidebar, or **Sandbox** under **Settings** > **Docs Agent**, contact . * A repository [connected to EkLine](/agent/github-app-setup/) that holds both your documentation pages and their image files. * A [sandbox](/agent/sandbox/) for each product URL your screenshots come from. The sandbox gives the agent the address to visit and, for pages behind a login, the sign-in variables it needs. * Documentation pages that reference their screenshots. The agent finds candidate images by reading how your pages reference them. ## Step 1: Confirm the sandbox reaches your product [Section titled “Step 1: Confirm the sandbox reaches your product”](#step-1-confirm-the-sandbox-reaches-your-product) The agent can only recapture a screen it can open. Verify this before you schedule anything. 1. Go to your [EkLine dashboard](https://ekline.io/dashboard) and open **Settings** > **Docs Agent** > **Sandbox**. 2. Confirm a sandbox appears under **Configured sandboxes** with the URL your screenshots come from. Note its name: you need the name, not the URL, in Step 3. 3. If no sandbox matches, [create one](/agent/sandbox/#create-a-sandbox). ## Step 2: Run a refresh on demand [Section titled “Step 2: Run a refresh on demand”](#step-2-run-a-refresh-on-demand) Run one refresh yourself before you put it on a schedule. You see what the agent captures, and you find any sign-in or navigation problem while someone is watching. 1. Open the Docs Agent editor and start a new session. 2. Ask the agent to refresh your screenshots against the sandbox by name: ```text Check the screenshots in our documentation against the staging-admin sandbox. Recapture any that no longer match the product, then open a pull request. ``` 3. Watch the [Live browser panel](/agent/editor/#watch-the-agent-browse) as the agent signs in and navigates. Each page it opens appears in real time. 4. Review what the agent reports. It lists the images it recaptured, the screen each one depicts, and any image it deferred with the reason. 5. Click **Raise PR** to open a pull request with the new images. The button prefills a chat message. Send it, and the agent opens the PR. ## Step 3: Schedule a recurring refresh [Section titled “Step 3: Schedule a recurring refresh”](#step-3-schedule-a-recurring-refresh) With the sandbox proven, hand the recurring work to an automation. 1. Click **Automations** in the sidebar. 2. Find **Doc Screenshot Refresh** under the **Accuracy** tab, or enter its name in **Search**, then click **Set up** on its card. 3. In **Sandbox name(s) to screenshot against (one per line)**, enter your sandbox name, for example `staging-admin`. The field starts empty, and the automation cannot turn on until you fill it in. 4. Under **Schedule**, the default is every week on Monday at 9:00 AM. Monthly suits most teams, because screenshots drift more slowly than prose and each run changes at most five images: set **Repeat every** to 1 month and select a day under **Repeat on**. Keep weekly if your interface is under active redesign. 5. Under **Notifications**, leave **Raise a pull request** checked, so the agent delivers each run’s images in a pull request for review. 6. **Send a Slack notification** is also checked. Enter a channel name, such as `docs-team`, and the agent posts a summary of each run there. Or clear the checkbox. 7. Click **Turn on**. ## What the agent changes and what it leaves alone [Section titled “What the agent changes and what it leaves alone”](#what-the-agent-changes-and-what-it-leaves-alone) | The agent | Detail | | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Recaptures product screenshots | Images that show your product’s interface, cropped to the element the image depicts | | Creates missing images | When a page’s prose and alt text call for a screenshot that isn’t there | | Replaces only structural changes | A renamed label, a moved control, a new field or a reworked layout: a change a reader would act on | | Skips dynamic content | Row values, timestamps, chart figures, and the signed-in username differ on every visit, so the agent leaves those images alone rather than churning your docs each run | | Skips non-screenshots | Diagrams, logos, illustrations, and mockups stay untouched | | Caps each run | At most five images per run, missing images first. It reports anything it defers | | Changes images, not prose | For documentation that describes the interface incorrectly in text, use the **Doc UI Accuracy Review** template instead | ## Verify the setup [Section titled “Verify the setup”](#verify-the-setup) Confirm both stages are in place: * [ ] A sandbox for each product URL appears under **Configured sandboxes** in **Settings** > **Docs Agent** > **Sandbox**. * [ ] The **Doc Screenshot Refresh** card on the **Automations** page has its toggle on. To see the output before the first scheduled run, click **Edit** on its card, open the **Runs** tab and click **Run now**. Then, under **Recent runs**, click the run’s start time to open the full session. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The run reports that it couldn’t sign in | The sandbox variables are wrong, or the sign-in form needs a value the sandbox doesn’t have. See [The agent can’t sign in](/agent/sandbox/#the-agent-cant-sign-in). | | The agent browsed the site but stayed signed out | The page host doesn’t match the sandbox URL. A sandbox for `staging.example.com` doesn’t apply to `app.example.com`. | | The run finished without a pull request | Nothing needed replacing. When every candidate image differs only in dynamic content, the agent discards the captures rather than opening an empty pull request. | | A screenshot you expected wasn’t updated | Check the run’s deferred list. Common reasons: the agent couldn’t tell which screen the image shows, the image isn’t a product screenshot, or the run hit its five-image cap. | | The run defers images because a sandbox is not configured | The sandbox name you gave doesn’t match a configured sandbox. Names are fixed at creation, so confirm the exact spelling under **Configured sandboxes**. | | Recaptured images show test data you don’t want published | Point the sandbox at an account with presentable data, then re-run. Review each image in the pull request before merging. | ## Next steps [Section titled “Next steps”](#next-steps) * [Browse authenticated pages with a sandbox](/agent/sandbox/): configure the sign-in variables the agent uses to reach pages behind a login. * [Automations](/agent/scheduled-agents/): explore the full template library for recurring documentation tasks. * [Capture screenshots from a video](/agent/screenshots-from-video/): turn a moment in a recording into a documentation image. * [Crop, redact, and annotate documentation images](/agent/edit-doc-images): make a raw capture publishable before it ships. * [Prevent documentation drift](/agent/prevent-documentation-drift/): catch undocumented code changes alongside stale images. # Generate release notes from completed tickets > Use Docs Agent to turn completed Linear or Jira tickets into structured, user-facing release notes and open a pull request for review. Turn a set of completed tickets into a clear release note for your users. Docs Agent reads each ticket’s title, description, and comments, then rewrites the work in plain language, without copying internal shorthand from the tickets. It groups the work into sections such as Features and Bug Fixes, then opens a pull request you can review before publishing. To produce release notes on a schedule instead, see [Automate release notes](#automate-release-notes). ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * At least one repository [connected to EkLine](/agent/github-app-setup/). * A connected ticket source. Docs Agent generates release notes from **Linear** or **Jira**. Connect one under **Settings** > **Integrations** (see [Integrations](/agent/integrations/)). * The ticket identifiers you want to include, such as `ENG-100` through `ENG-110`, or a milestone or release name the agent can look up. ## Generate a release note [Section titled “Generate a release note”](#generate-a-release-note) 1. Sign in to the [EkLine app](https://ekline.io/dashboard) and click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. 2. In the chat panel, describe the release. Name the tickets, the output sections, and the audience: ```text Generate release notes for v2.1 from Linear tickets ENG-100 through ENG-110. Group them under Features, Improvements, and Bug Fixes. Write for end users, one sentence per item. ``` 3. Wait while the agent reads each ticket and drafts the release note in the editor panel. 4. Review the draft. Ask the agent to refine anything that reads inaccurately, for example `Move the rate-limiting change under Improvements` or `Rewrite the SSO item without internal jargon`. ![The Docs Agent chat panel with a release-notes prompt that names a ticket range and the output sections](/assets/images/docs-agent-release-notes.png) ## Structure the output [Section titled “Structure the output”](#structure-the-output) Tell the agent how to group and order entries so the release note matches your existing format. * Group by type ```text Generate release notes for the tickets in the "1.4" milestone. Group them under Features, Improvements, and Bug Fixes. Within each group, list the most impactful change first. ``` * Match an existing file ```text Generate release notes for tickets ENG-200 through ENG-215. Match the heading style and tone of CHANGELOG.md, and add the new version at the top. ``` * Highlight breaking changes ```text Generate release notes for the v3.0 release from Jira tickets in the PLAT project fixVersion 3.0. Call out breaking changes in a separate section at the top with migration notes. ``` ## Verify the release note [Section titled “Verify the release note”](#verify-the-release-note) Before you publish, confirm the draft is accurate and complete. 1. Enable **View All Changes** in the toolbar to see a diff of what the agent wrote. 2. Check that every ticket you named appears, and that no internal-only tickets slipped in. 3. Confirm version numbers, dates, and section headings match your convention. ## Raise a pull request [Section titled “Raise a pull request”](#raise-a-pull-request) When the draft is ready: 1. Click **Raise PR** in the toolbar. The chat box fills with `Open a pull request for` and your repository’s name. 2. Edit the prompt if you want to add instructions, then press **Enter**. 3. The agent opens the pull request and replies in the chat with a link so you can finish the review on GitHub. To add a late-arriving ticket after the PR is open, ask the agent for the change, then click **Update PR** to push it to the same branch. ## Automate release notes [Section titled “Automate release notes”](#automate-release-notes) To generate release notes on a schedule instead of on demand, turn on the **Release Notes Generator** template in [Automations](/agent/scheduled-agents/). It drafts structured release notes from tickets and GitHub activity since the release notes were last updated, and delivers them as a pull request, a Slack message, or both. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause | Fix | | ------------------------------------------ | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | | The agent can’t find a ticket | The ticket source isn’t connected, or the identifier is wrong | Connect Linear or Jira under **Settings** > **Integrations**, then confirm the ticket key and project. | | Entries read like internal commit messages | The prompt didn’t set an audience | Add `"Write for end users"` and ask the agent to rewrite items in plain language. | | A ticket is missing from the draft | It fell outside the range or milestone you named | Name the ticket explicitly, or widen the range: `"Also include ENG-118"`. | | Sections are in the wrong order | The default grouping doesn’t match your format | Specify the sections and their order in the prompt, or point the agent at an existing changelog file to match. | ## Next steps [Section titled “Next steps”](#next-steps) * [Create documentation](/agent/create/): generate READMEs, API references, and guides from your codebase. * [Update and review](/agent/update-review/): keep documentation in sync with code changes. * [Automations](/agent/scheduled-agents/): automate release notes and other recurring documentation tasks. * [Integrations](/agent/integrations/): connect Linear, Jira, Slack, and more. # Rename a feature across all your docs > Use Docs Agent to rename a feature, change a product term, or update pricing consistently across every page, then ship a single pull request. Make one consistent change across your entire documentation set in a single Docs Agent session. The agent searches the whole repository, updates every occurrence and its variations, shows you the full diff, and opens one pull request for review. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account in your organization. * A documentation repository [connected to EkLine](/agent/github-app-setup/). GitLab works too: [connect GitLab](/agent/gitlab-setup/) instead. * Permission to open pull requests on that repository. ## Step 1: Describe the change and its scope [Section titled “Step 1: Describe the change and its scope”](#step-1-describe-the-change-and-its-scope) Open the editor and tell the agent three things: the old term, the new term, and where the change applies. Name what to leave alone in the same prompt so the agent doesn’t over-reach. 1. Sign in to the [EkLine app](https://ekline.io/dashboard) and click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. 2. In the chat panel, describe the rename and its boundary: ```text We renamed the "Workspace" feature to "Project" across the product. Update every mention in the docs/ folder to use "Project": headings, body text, captions, and prose in code examples. Leave URL slugs, file names, and code identifiers like `workspaceId` unchanged. ``` **Verify:** The agent responds in the chat and begins reading your repository. ## Step 2: Let the agent find every occurrence [Section titled “Step 2: Let the agent find every occurrence”](#step-2-let-the-agent-find-every-occurrence) The agent searches your whole connected repository, not only the files you name. It finds occurrences you might miss, such as a term buried in a troubleshooting page, an image caption, or a comment inside an example. **Verify:** The agent reports the files it plans to change and drafts the edits in the editor panel on the left. ## Step 3: Cover the variations [Section titled “Step 3: Cover the variations”](#step-3-cover-the-variations) A term can appear in multiple forms. Plurals, adjectives, and link text all need to move together, while lookalike words that mean something else must stay. Send a follow-up to catch the variations: * Plurals and forms ```text Also update the variations: "Workspaces" to "Projects" and "workspace-level" to "project-level". Keep the sentence grammar correct after each change. ``` * Link text ```text Update the anchor text of any link that reads "Workspace" or "Workspaces" to match the new term. Leave the link URLs unchanged. ``` * Avoid false matches ```text Don't change the word "workspace" where it refers to a VS Code workspace, which is a different concept. Only rename our product feature. ``` The agent updates the same draft rather than starting over, so each follow-up refines the change in place. ## Step 4: Review the full diff [Section titled “Step 4: Review the full diff”](#step-4-review-the-full-diff) A site-wide change touches many files, so review it as a whole before you ship. 1. Enable **View All Changes** in the toolbar to see a diff of every modification across all files. 2. Scan for the three failure modes of a bulk rename: * **Over-eager matches**: a word that matched the pattern but meant something else. * **Broken links**: anchor text renamed but a target left stale, or the reverse. * **Preserved-term drift**: a code identifier, URL, or filename changed when you asked to keep it. **Verify:** The diff shows the new term throughout your prose, with the identifiers, slugs, and file names you named still intact. ## Step 5: Fix misses with a follow-up [Section titled “Step 5: Fix misses with a follow-up”](#step-5-fix-misses-with-a-follow-up) Reviewing a large change almost always surfaces a straggler. Point the agent at it instead of editing by hand: ```text You missed the term in docs/billing.md, and you changed `workspaceId` in the API example. Revert that identifier. Everything else looks right. ``` The agent applies the correction to the current draft. Repeat until the diff is clean. ## Step 6: Open a single pull request [Section titled “Step 6: Open a single pull request”](#step-6-open-a-single-pull-request) Ship the whole rename as one reviewable change. 1. Click **Raise PR** in the toolbar. 2. The chat box fills with `Open a pull request for` and your repository’s name. Edit it to add a title or description, for example `Rename Workspace to Project across the docs`, then press **Enter**. 3. The agent creates the pull request and responds in the chat with a link to it. **Verify:** The chat shows a link to one pull request that contains every renamed page and nothing unrelated. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause and fix | | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | The agent changed a code identifier or URL you wanted to keep | The boundary wasn’t explicit. Ask it to revert that specific change and name what to preserve. For example, tell it to restore the original identifier and leave all code identifiers untouched. | | The agent missed a file | Name the file or section directly, and confirm the path is inside a connected repository. | | Too many changes to review at once | Scope the rename by directory and run it in batches, for example `"Only update docs/api/ for now"`, then repeat for the next directory. | | The old term still appears in a screenshot | A rename changes text, not images. Recapture or edit the image separately with [Keep screenshots up to date](/agent/refresh-doc-screenshots/) or [Edit documentation images](/agent/edit-doc-images/). | ## Next steps [Section titled “Next steps”](#next-steps) * [Customize for your organization](/agent/custom-instructions/): record the new term in your custom instructions so the agent uses it in every future draft. * [Manage a knowledge base](/agent/manage-knowledge-base/): apply the same rename to a connected Confluence or Pylon knowledge base. * [Update and review documentation](/agent/update-review/): keep docs in sync when the code behind a feature changes, not only its name. * [Combine multiple sources into one document](/agent/combine-sources/): pull a ticket, pull request, and spec into a single authoritative page. # Control which pull requests EkLine reviews > Set per-repository review rules to scope which pull requests Docs Agent reviews by branch, title, author, label, or changed files. By default, [automatic PR review](/agent/automatic-pr-review/) assesses every pull request opened into your repository’s default branch, except drafts and, on GitHub, pull requests from a few bot accounts. Review rules let you narrow that scope per repository, so EkLine skips the pull requests you don’t want reviewed. Use review rules to skip draft pull requests, add release branches, or ignore pull requests by title, author, label, or the files they change. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * Automatic PR review on for your organization. It is on by default. * The [EkLine GitHub App connected](/agent/github-app-setup/), or [GitLab connected](/agent/gitlab-setup/), to at least one repository. * **Enable monitoring** turned on for the repository you want to configure. Review rules are only reachable for monitored repositories. ## Open the review rules for a repository [Section titled “Open the review rules for a repository”](#open-the-review-rules-for-a-repository) 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Go to **Settings** > **Integrations** > **GitHub Integration** (or **GitLab Integration**). 3. Find the repository in the list and confirm the **Enable monitoring** toggle is on. 4. Click the gear icon next to the repository. Its label reads **Review rules**. The review rules page opens with the repository name at the top and a back link to the integration page. The default rules review every pull request opened into your default branch, except drafts and, on GitHub, pull requests from the bot accounts listed under **Skip PRs from these authors**. ## Choose which pull requests to review [Section titled “Choose which pull requests to review”](#choose-which-pull-requests-to-review) The review rules page groups its controls into filters. Each filter narrows the set of pull requests EkLine reviews: EkLine reviews a pull request only when it passes every filter. ### Skip draft pull requests [Section titled “Skip draft pull requests”](#skip-draft-pull-requests) The **Skip draft PRs** toggle is on by default, so EkLine ignores draft pull requests until you mark them ready for review. Turn it off to review drafts as well. ### Branch rules [Section titled “Branch rules”](#branch-rules) | Field | What it does | | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | **Review PRs into these branches** | EkLine reviews pull requests that target any branch listed here. Your default branch is prepopulated. At least one branch is required. | | **Skip PRs from these branches** | EkLine skips pull requests whose source (head) branch matches an entry. Leave it empty to review pull requests from any branch. | Both fields match branch names with regular expressions. Patterns are **unanchored** unless you add `^` and `$`, and matching is **case-sensitive**. The prepopulated default branch is already anchored, for example `^main$`. To review release branches as well as your default branch, add a pattern such as `release/.*` to **Review PRs into these branches**. To skip documentation-only branches, add `^docs/` to **Skip PRs from these branches**. ### Pull request filters [Section titled “Pull request filters”](#pull-request-filters) | Field | What it does | | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Skip PRs whose title matches** | Skips pull requests whose title matches a regular expression, for example `^chore:` to skip chore commits. | | **Skip PRs from these authors** | Skips pull requests opened by the usernames listed. Match usernames exactly. Bot accounts include the `[bot]` suffix, for example `dependabot[bot]`. On GitHub the list starts with `dependabot[bot]`, `renovate[bot]`, `github-actions[bot]` and `ekline[bot]`. | | **Filter by label** | Enter a label name to require it, so EkLine reviews only pull requests carrying that label. Prefix a label with `!` to skip pull requests that carry it, for example `!wip`. | Author matching is case-insensitive. Label matching is case-insensitive on GitHub and case-sensitive on GitLab. ### File filters [Section titled “File filters”](#file-filters) The **Skip PRs that only touch these files** field takes glob patterns. EkLine skips a pull request only when *every* changed file matches at least one pattern. A pull request that touches any non-matching file is still reviewed. For example, `**/*.md` skips pull requests that change only Markdown files, but still reviews a pull request that changes a Markdown file alongside a source file. ## Choose what happens after a review [Section titled “Choose what happens after a review”](#choose-what-happens-after-a-review) The **Output behaviour** section at the top of the page has an **Auto-create documentation PRs** toggle. When it is on, the agent raises the docs PR itself. When it is off, drafts appear in the editor for you to raise yourself. If you don’t see **Output behaviour**, the agent always raises the docs PR. To get the toggle, contact . ## Save your rules [Section titled “Save your rules”](#save-your-rules) 1. Add an entry to any field by typing a value and pressing **Enter** or a comma. Each entry appears as a chip. To remove the last chip, press **Backspace** in an empty field. 2. Click **Save changes**. EkLine validates your patterns and confirms with a **Review rules saved** message. Your changes apply from the next time a pull request is opened or marked ready for review, or, on GitHub, has a label added or removed. A pull request EkLine has already reviewed is not reviewed again. ## Verify your rules [Section titled “Verify your rules”](#verify-your-rules) Confirm the rules take effect on a real pull request: 1. Open a pull request that one of your rules should skip, for example a draft pull request, or one whose title matches a skip pattern. 2. Wait about 30 seconds, then check the pull request. EkLine posts no automatic review comment, because the pull request was filtered out. 3. Open a pull request that your rules should review, for example one into a reviewed branch with a documentation-impacting change. EkLine assesses it and comments when it detects documentation impact. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | No gear icon next to the repository | Review rules open only for monitored repositories. Turn on **Enable monitoring** for the repository, then reopen the row. | | Save is blocked with an error on a field | A pattern is invalid or an entry is uncommitted. Fix the highlighted regular expression, or press **Enter** to add a pending entry (or clear it), then save again. | | Save is blocked asking for a branch | **Review PRs into these branches** requires at least one entry. Add your default branch, for example `^main$`, before saving. | | A pull request I expected to skip was still reviewed | Regular expressions are unanchored and case-sensitive. Confirm the pattern matches the exact branch, title, or author. For file filters, remember EkLine skips a pull request only when every changed file matches. | | A pull request I expected to review was skipped | Check each filter in turn: a skip pattern for the branch, title, author, or label may be catching it. | ## Next steps [Section titled “Next steps”](#next-steps) * [Automatic PR review](/agent/automatic-pr-review/): understand the confidence tiers that decide what EkLine does after a pull request passes your rules. * [Prevent documentation drift](/agent/prevent-documentation-drift/): pair automatic PR review with a scheduled drift audit. * [Connect GitHub](/agent/github-app-setup/): install the GitHub App and select repositories to monitor. # Browse authenticated pages with a sandbox > Set up a sandbox so EkLine Docs Agent can sign in to your product and capture screenshots of pages behind a login. A sandbox gives Docs Agent a site URL and the sign-in variables it needs to reach pages behind a login. With a sandbox configured, the agent can open your product, sign in, and capture screenshots of authenticated pages to include in your documentation. Without one, the agent can browse only pages that don’t require signing in. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) * An EkLine organization account. * The **Sandbox** tab under **Settings** > **Docs Agent**. If you don’t see it, see [The Sandbox tab isn’t available](#the-sandbox-tab-isnt-available). * The URL of the site you want the agent to browse, and a set of sign-in credentials for it. ## Create a sandbox [Section titled “Create a sandbox”](#create-a-sandbox) 1. **Open your Docs Agent settings.** Go to your [EkLine dashboard](https://ekline.io/dashboard) and open **Settings** > **Docs Agent** > **Sandbox**. 2. **Name the sandbox.** In **Sandbox name**, enter a unique name such as `admin-staging`. The name identifies the sandbox and can’t be changed later. To rename it, delete and recreate it. Two sandboxes can share a URL with different variables. 3. **Enter the site URL.** In **Sandbox URL**, enter the full URL, such as `https://staging.example.com`. The agent applies this sandbox’s variables when it browses a page on this host. 4. **Add sign-in variables.** Each variable is a name and value pair. EkLine starts you with `email` and `password` rows: enter the values the site needs to sign in. Values for variables named with `password`, `secret`, `token`, or `key` are masked as you type. Click **Add variable** to add more, such as an organization slug. Add at least one variable with a value. 5. **Save the sandbox.** Click **Save sandbox**. The sandbox appears under **Configured sandboxes** with its URL and a badge for each variable name. Caution EkLine stores variable values encrypted, and the **Configured sandboxes** list shows only variable names. Any member of your organization can open a sandbox’s edit dialog, which loads its saved values, so store test credentials only. ## Edit a sandbox [Section titled “Edit a sandbox”](#edit-a-sandbox) 1. **Open the sandbox.** In **Configured sandboxes**, click the edit icon next to the sandbox. A dialog opens with the current URL and variables filled in, titled **Edit** and the sandbox name, such as **Edit admin-staging**. The name is fixed. 2. **Change the URL or variables.** Update the URL, edit values, or add and remove variables as needed. 3. **Update the sandbox.** Click **Update sandbox**. To keep a saved value without retyping it, such as a password, leave that variable’s value blank. EkLine keeps the value already stored. Enter a new value only when you want to replace it. ## Delete a sandbox [Section titled “Delete a sandbox”](#delete-a-sandbox) In **Configured sandboxes**, click the delete icon next to the sandbox. Caution Deleting a sandbox removes its stored variables and can’t be undone. The agent can no longer sign in to that site until you recreate the sandbox. ## Use a sandbox in a session [Section titled “Use a sandbox in a session”](#use-a-sandbox-in-a-session) Ask the agent to browse or screenshot a page on the sandbox’s host. The agent signs in with the sandbox variables, then captures the page. Watch it work in the [Live browser panel](/agent/editor/#watch-the-agent-browse). ```text Sign in to https://staging.example.com and add a screenshot of the billing settings page to the "Manage billing" guide. ``` ## Verify the sandbox [Section titled “Verify the sandbox”](#verify-the-sandbox) * The sandbox appears under **Configured sandboxes** with the correct URL and a badge for each variable. * In a session, ask the agent to screenshot a page that requires signing in. In the **Live browser** panel, confirm the agent reaches the page as a signed-in user. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### The Sandbox tab isn’t available [Section titled “The Sandbox tab isn’t available”](#the-sandbox-tab-isnt-available) If **Settings** > **Docs Agent** has no **Sandbox** tab, contact **** with your organization name. ### The agent can’t sign in [Section titled “The agent can’t sign in”](#the-agent-cant-sign-in) The credentials are wrong, or the sign-in form needs a value you didn’t add. Edit the sandbox, confirm each value is correct, and add any extra variable the login requires, such as an organization slug. ### The agent browses but doesn’t sign in [Section titled “The agent browses but doesn’t sign in”](#the-agent-browses-but-doesnt-sign-in) The page host doesn’t match the sandbox URL. Confirm the host in **Sandbox URL** matches the page you asked the agent to open. A sandbox for `staging.example.com` doesn’t apply to `app.example.com`. ### A saved value seems wrong after editing [Section titled “A saved value seems wrong after editing”](#a-saved-value-seems-wrong-after-editing) You left the value blank while editing, which keeps the previous value. Enter the new value explicitly to replace it. ## Next steps [Section titled “Next steps”](#next-steps) * [Watch the agent browse](/agent/editor/#watch-the-agent-browse): see each page the agent visits in real time. * [Create documentation](/agent/create/#from-screenshots-and-images): Insert screenshots the agent captures into your docs. * [Keep documentation screenshots up to date](/agent/refresh-doc-screenshots/): Recapture stale images from your live product on a schedule. * [Customize Docs Agent for your organization](/agent/custom-instructions/): Set conventions the agent applies to every session. *** ## Stuck? [Section titled “Stuck?”](#stuck) Reply to your welcome email or contact . We read every message. # Automations > Run Docs Agent or Marketing Agent tasks on a schedule: turn on a built-in automation or write your own, choose the agent it runs as, set when it runs, and read what each run did. Automations run Docs Agent or Marketing Agent tasks on a schedule you set, such as a weekly docs drift review, a monthly tutorial gap review or a weekly release marketing brief. [Automations demo](https://www.youtube.com/embed/56ygnpePseA) This video was recorded when automations were called Scheduled Agents, so some screens look different today. ## What an automation is [Section titled “What an automation is”](#what-an-automation-is) An automation is a prompt that EkLine runs on a schedule. Each run starts a new session of the automation’s agent, titled with the automation’s name, and the agent works through the prompt with no one there to answer questions. * **Built-in automations** come from EkLine’s templates. Each has its own card on the **Automations** page. * **Custom automations** run a prompt you write. They are listed under the **Custom** tab. Every automation runs as one agent, the Docs Agent or the Marketing Agent. Each built-in automation has its agent: **Release Marketing Brief** runs as the Marketing Agent, and every other built-in runs as the Docs Agent. For a custom automation, you choose the agent when you create it. The agent cannot be changed afterwards; to run the same prompt as the other agent, create a new automation. If you don’t see **Marketing Agent** under **Runs as**, or the **Marketing** tab, contact . A run uses credits like any other session of its agent, and counts as that agent on the Usage page. When your organization is out of credits, the run is skipped. See [Credits and usage](/workspace/credits-and-usage/). ## What you can automate [Section titled “What you can automate”](#what-you-can-automate) The **Automations** page groups the built-in automations into six tabs: **Accuracy**, **SEO and GEO**, **Content gaps**, **Knowledge base**, **Releases and reports**, and **Marketing**. [Automation templates](/reference/automation-templates/) lists every one, with what it does, its default schedule, and the inputs it asks for. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * For a Docs Agent automation, at least one repository is selected under **Where EkLine writes**, so the agent has docs to work on and somewhere to open pull requests. See [Connect GitHub](/agent/github-app-setup/) or [Connect GitLab](/agent/gitlab-setup/). * To get results in Slack, Slack is connected in **Settings** > **Integrations**. See [Slack](/agent/slack-bot/). Any member of your organization can create, change and delete automations. ## Turn on a built-in automation [Section titled “Turn on a built-in automation”](#turn-on-a-built-in-automation) 1. Click **Automations** in the sidebar. 2. Find the automation. Click a category tab, or enter its name in **Search**. 3. Turn on the toggle on its card to use the defaults, or click **Set up** to review the settings first. With the toggle, the automation turns on with its default schedule and settings, and a message shows when it first runs. If it still needs a value from you, such as your website URL or a Slack channel, its setup panel opens instead. 4. In the setup panel, fill in the automation’s inputs. Use **Additional instructions (optional)** for anything to add to what the automation already does. 5. Set the **Schedule** and **Notifications**, as described below, then click **Turn on**. The first time you turn on an automation that posts to Slack, the panel asks which channel to use. EkLine remembers it and fills it in for your other automations. ## Create a custom automation [Section titled “Create a custom automation”](#create-a-custom-automation) 1. On the **Automations** page, click **New custom automation**. 2. Under **Runs as**, select **Docs Agent** or **Marketing Agent**. The Docs Agent works in your documentation repositories and can open pull requests. The Marketing Agent drafts marketing content from your product, your docs and your company context. 3. Enter a **Name**, up to 200 characters. 4. Write the **Prompt**: what the agent does on every run, up to 10,000 characters. 5. Set the **Schedule** and **Notifications**. 6. Click **Create automation**. Write the prompt so it stands on its own, because no one is there to answer the agent during a run. Name the repository or folder, the audience, the output you want, and how to group or sort it. To run a [skill](/agent/custom-skills/), start the prompt with its slash command, for example `/ekline-docs-drift-review`. * Release notes ```text Generate release notes for all tickets completed since the last release. Organize by Features, Improvements, and Bug Fixes. Write for end users. ``` * Doc audit ```text Review the docs/ directory for outdated content. Flag any references to deprecated APIs or removed features. Create a summary of what needs updating. ``` * README sync ```text Check if the README reflects the current project structure and dependencies. Update any outdated installation instructions or configuration examples. ``` ## How a run builds on earlier runs [Section titled “How a run builds on earlier runs”](#how-a-run-builds-on-earlier-runs) Before a run chooses what to work on, the agent opens the automation’s earlier runs, most recent first, to see what each was asked, what it answered, and the pull requests it opened. Then: * It skips work an earlier run already did or has open for review, names that run and its pull request, and picks something else. * It checks each of those pull requests on GitHub or GitLab rather than trusting the last state EkLine recorded. Work merged into a branch other than your default one, such as `develop`, still counts as done. * When everything it finds is already covered, it says so and finishes without opening a pull request. Each run ends its reply with a record for the next run: * the scope it looked at * what it produced, with the pull request number and title, or why it produced nothing * what it left out, and why * what the next run should start from and check again A run finds earlier runs by the automation’s name. After you rename an automation, its runs from before the rename are not found. When you write in a run’s session yourself, the agent does what you ask, even if an earlier run covered the same work. It first tells you what that work was and where it landed. ## Set the schedule [Section titled “Set the schedule”](#set-the-schedule) Under **Repeat every**, enter a number and select a unit. For every unit except hours, select the hour under **At**. | Repeat every | Options | | ------------ | -------------------------------------------------------------------------------- | | Hours | Every 1 to 24 hours | | Days | Every 1 to 30 days, at a whole hour | | Weeks | Every 1 to 12 weeks, on one or more days under **Repeat on**, at a whole hour | | Months | Every 1 to 12 months, on a day from 1 to 28 under **Repeat on**, at a whole hour | Times use the time zone of the browser you set the automation up in, and the **Schedule** section names it. **Next run** shows when the automation runs next. An interval such as every 2 weeks counts from the day you set the automation up. The run time stays the same on your clock through daylight saving changes. ## Choose where results go [Section titled “Choose where results go”](#choose-where-results-go) The full result of every run is in its session. Under **Notifications** you can also ask for: | Setting | What happens | | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Raise a pull request** | Docs Agent automations only. The agent opens a pull request with its changes when it is done. A run that finds its work already covered by earlier runs opens none. A Marketing Agent automation saves its drafts in its session instead. | | **Send a Slack notification** | The agent posts a summary to the channel you name. | If a pull request or a post does not appear, open the run’s session to see what happened. If Slack is not connected, the agent skips the post and says so in the session. EkLine sends no message of its own when a run starts, succeeds, fails or is skipped, and sends no email. To report EkLine’s work to your team on a schedule, see [Keep your team informed](/agent/keep-your-team-informed/). ## Manage an automation [Section titled “Manage an automation”](#manage-an-automation) Click **Edit** on an automation’s card to open its panel, which has a **Settings** tab and a **Runs** tab. | To | Do this | | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | Run it now | On **Runs**, click **Run now**. The next scheduled run is then counted from this one. | | Skip the next run | On **Runs**, click **Skip next run**. The run after it happens as scheduled. Click it again before the skipped time passes to skip the following run too. | | Change its settings | On **Settings**, make your changes and click **Save changes**. They apply from the next run. | | Turn it off | Turn off the toggle on its card. It keeps its settings and does not run until you turn it back on. There is no separate pause control. | | Delete it | Custom automations only. On **Settings**, click **Delete**, then confirm. This cannot be undone. Sessions from earlier runs stay in your sessions list. | Built-in automations cannot be deleted. Turn one off with its toggle instead. ## Check it worked [Section titled “Check it worked”](#check-it-worked) Open the automation’s **Runs** tab. **Recent runs** lists the five most recent runs, newest first, each with its start time and a status: | Status | Meaning | | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Running** | The run is in progress. | | **Succeeded** | The run finished. | | **Failed** | The run stopped with an error. | | **Skipped** | The run did not start a session. The **Runs** tab says why under the run’s start time: your organization was out of credits, or the Marketing Agent is not enabled for your organization. | Click a run’s start time to open its session and see what the agent did, including any pull request it opened. The card on the **Automations** page also shows the latest run’s status. ## Next [Section titled “Next”](#next) * [Automation templates](/reference/automation-templates/): every built-in automation and the inputs it needs. * [Keep your team informed](/agent/keep-your-team-informed/): send a weekly work report and a release brief to Slack. * [Find a past session](/agent/find-sessions/): find a run’s session later. # Capture screenshots from a video or browsing recording > Use Docs Agent to turn a moment in an uploaded video or a browsing recording into a documentation screenshot, then insert it into your docs. Docs Agent turns a moment in a video into a documentation screenshot. Point it at a second of a video and it extracts that frame as a PNG, saves it with your documentation files, and adds the markdown reference in the page you are writing. The video can be one you upload or the recording the agent makes while it browses. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * A repository [connected to EkLine](/agent/github-app-setup/) where the documentation lives. * A source that contains the moment you want to capture, either an uploaded video or a session in which the agent browsed. * For a browsing recording, the **Sandbox** tab under **Settings** > **Docs Agent**. If you don’t see it, contact . An uploaded video must meet these limits: | Requirement | Value | | ------------ | ------------------------- | | Formats | MP4, WebM, MOV, AVI, MPEG | | Maximum size | 500 MB | ## Step 1: Give the agent a source [Section titled “Step 1: Give the agent a source”](#step-1-give-the-agent-a-source) Choose the source that matches where your moment lives. * Uploaded video 1. Sign in to the [EkLine app](https://ekline.io/dashboard) and click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. 2. Click the attachment icon in the chat panel and select your video file. 3. Wait for the upload to finish. When you send your message, the agent transcribes the video and reads what happens on screen, which takes a few minutes for a longer recording. The video appears as an attachment in the chat panel once the upload completes. * Browsing recording Some tasks lead the agent to open a browser, for example when you ask it to document a page in your product. The agent records what it visits and keeps the recording with the session, so you can pull a frame from it afterward. 1. Ask the agent to visit the pages you want to illustrate. For example: ```text Open our pricing page and document the plan tiers. ``` 2. Watch the **Live browser** panel in the bottom-right corner of the editor to see the pages it visits. 3. Wait for the agent to finish browsing. The panel header changes to **Recording**, and the recording is available for the rest of the session. To reach pages behind a sign-in, [set up a sandbox](/agent/sandbox/) first. ## Step 2: Find the moment you want [Section titled “Step 2: Find the moment you want”](#step-2-find-the-moment-you-want) Ask the agent where something appears in the video instead of scrubbing through the recording yourself. ```text Which second of this video shows the billing settings page with the plan selector open? ``` The agent answers with a timestamp. Ask follow-up questions if several moments look similar: ```text Is the success message visible at that point, or does it appear later? ``` ## Step 3: Ask for the frame [Section titled “Step 3: Ask for the frame”](#step-3-ask-for-the-frame) Name the second you want and where the image belongs. Telling the agent what the screen shows helps it write useful alt text. * Insert into a page ```text Extract the frame at 47 seconds and insert it into docs/billing/change-plan.md after the "Open billing settings" step. Write alt text describing the plan selector. ``` * Several frames ```text Extract frames at 12, 47, and 90 seconds and place each one next to the step it illustrates in docs/billing/change-plan.md. ``` * From a browsing recording ```text Extract the frame from the browsing recording where the pricing table is fully visible, and add it to the overview page with a caption. ``` The agent extracts the frame, saves it as a PNG in your repository, and adds the markdown reference in the page you named. ## Step 4: Check the image in the editor [Section titled “Step 4: Check the image in the editor”](#step-4-check-the-image-in-the-editor) Select the image’s tab in the editor panel. The image renders inline, with the filename and a status badge below it. Click the preview to open the image larger. Check that: * The frame shows the screen or action you meant to capture. * The image sits next to the step it illustrates. * The alt text describes what the screen shows. If the frame is wrong, reply in the chat with a corrected timestamp: ```text That frame is too early. The dialog is still opening. Extract the frame at 50 seconds instead. ``` ## Step 5: Publish as a pull request [Section titled “Step 5: Publish as a pull request”](#step-5-publish-as-a-pull-request) 1. Enable **View All Changes** in the toolbar to see a diff of what the agent created. 2. Click **Raise PR**. The chat box fills with `Open a pull request for` and your repository’s name. Press **Enter** to send it, or edit it first to add instructions. The agent opens the pull request and replies in the chat with a link. Extracted images commit alongside your documentation changes, so the page and its screenshots land in the same pull request. ## Verify [Section titled “Verify”](#verify) Confirm the capture worked: * [ ] The image file appears in the editor panel and previews inline. * [ ] The page you named has a markdown reference to the new image. * [ ] The pull request includes both the page and the PNG file. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The agent says it cannot read the video | Check that the file finished processing and is under 500 MB in a supported format. Re-upload it if processing failed. | | The captured frame is a moment too early | The screen was still changing at that second. Ask for a timestamp one or two seconds later. | | The frame from a browsing recording looks low resolution | A recording captures the browser viewport at the recording’s resolution. For a crisp image, ask the agent to capture the page directly with a [sandbox](/agent/sandbox/) instead. | | The agent cannot find a recording for the session | Recordings exist only for sessions in which the agent browsed. Ask it to visit the page first, then request the frame. | | The image reference points at the wrong place in the page | Name the heading or step you want it after, then ask the agent to move it. | ## Next steps [Section titled “Next steps”](#next-steps) * [Create documentation from a demo video](/agent/create-docs-from-video/): turn a whole walkthrough into a written guide. * [Browse authenticated pages with a sandbox](/agent/sandbox/): let the agent sign in to your product and capture pages directly. * [Create documentation](/agent/create/): generate guides, READMEs, and references from your codebase and other sources. # Docs Agent Slack bot > Create documentation drafts directly from Slack by @mentioning EkLine in a channel or thread. Create documentation without leaving Slack. @mention EkLine in a channel the EkLine app is in, or in a thread there, and the bot generates a draft you can review and edit in EkLine. The bot acts only on @mentions. It ignores thread replies that do not mention it, does not answer direct messages, and has no per-channel settings in EkLine. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) Before you begin, you need: * An EkLine organization account. * Slack workspace administrator access to install the app. ## Connect your Slack workspace [Section titled “Connect your Slack workspace”](#connect-your-slack-workspace) 1. Go to **Settings > Integrations** in your EkLine dashboard. 2. Find **Slack** in the integrations list. 3. Click **Connect**. 4. On the Slack page that opens, allow EkLine to access your Slack workspace. 5. Complete the Slack authorization flow. Slack returns you to EkLine. 6. Verify the integration shows as **Connected**. Once connected, anyone in the Slack workspace can mention `@EkLine` to create documentation drafts. ## Create documentation from Slack [Section titled “Create documentation from Slack”](#create-documentation-from-slack) 1. In a Slack channel the EkLine app is in, or a thread there, type `@EkLine` followed by your request. ```text @EkLine create a troubleshooting guide based on this discussion ``` 2. Look for the :eyes: reaction on your message. If your request is unclear, the bot asks a question in the thread. Answer it with a new @mention. 3. Follow the reply in the thread. Docs Agent replies in one of two ways: * **Draft link:** “Got it! I’m looking into this now.”, then ”📝 Draft ready! Review in EkLine” with a link to the session. * **Threaded replies:** a message with a **View EkLine chat** button that opens the session. A typing status shows while Docs Agent works. When it finishes, the agent posts its reply in the thread, with a collapsed **Proposed changes** diff of up to five changed files. Expand it to read the diff in Slack. Every reply ends with a **See the full chat** link to the whole session. To stop a running request, mention `@EkLine stop` in the thread. If you get draft links and want threaded replies, contact . 4. Open the session in EkLine to review and edit the draft. 5. Look for the pull request. With automatic pull requests on, Docs Agent opens one when it changes documentation files. See [Automatic pull requests](#automatic-pull-requests). ## Automatic pull requests [Section titled “Automatic pull requests”](#automatic-pull-requests) When Docs Agent changes documentation files for a Slack request, it opens a pull request with the drafted changes. This is **on by default**. With threaded replies, Docs Agent includes the PR link in its Slack reply. The pull request also appears in the editor session for that draft. If no pull request appears, open the session and click **Raise PR**. ### Disable automatic PRs [Section titled “Disable automatic PRs”](#disable-automatic-prs) If you prefer to review drafts in the editor before creating a PR manually: 1. Go to **Settings** > **Docs Agent** > **Slack triggers** in your EkLine dashboard. 2. Turn off the **Automatically raise PRs from Slack requests** toggle. The setting applies from the next Slack request, including a new @mention in a thread whose session already exists. Turn the toggle back on to resume automatic pull requests. ## Context the bot captures [Section titled “Context the bot captures”](#context-the-bot-captures) | Context type | What the bot captures | | ---------------- | ------------------------------------------------------------------------------------------------------------- | | Thread messages | All messages in the current thread | | Channel messages | Up to 10 messages before your @mention. In a thread, up to 10 before and 10 after the message that started it | | File attachments | Images (JPEG, PNG, GIF, WebP), PDFs, and videos attached to the message | | Reactions | Emoji reactions on messages | ## Write effective prompts [Section titled “Write effective prompts”](#write-effective-prompts) The quality of your prompt determines the quality of the output. | Instead of… | Try… | | ---------------- | ------------------------------------------------------------------------- | | “help with docs” | “Create a troubleshooting guide for the API timeout issue discussed here” | | “document this” | “Write a how-to guide for the workaround Sarah described” | | “make docs” | “Update the authentication docs based on the new flow we agreed on” | **Include specific details:** * Reference the type of documentation you need: tutorial, how-to guide, reference, troubleshooting. * Name specific topics or features from the conversation. * Mention existing documentation to update if applicable. * Point to URLs or ticket IDs for more context. ## Check it worked [Section titled “Check it worked”](#check-it-worked) * A :eyes: reaction appears on your @mention, followed by a reply in the thread that links to EkLine. * The session appears under **Sessions** in the EkLine app. Filter by **Source** > **Slack** to find it. See [Find a past session](/agent/find-sessions/). ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Issue | Solution | | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | Bot does not respond | Verify the workspace connection in **Settings > Integrations**. Check that the bot has access to the channel. | | “This workspace isn’t connected to EkLine. Ask an admin to reconnect.” | Ask a workspace administrator to reconnect the integration in EkLine settings. | | Draft does not match expectations | Give more specific instructions in your mention. Include the documentation type and key topics to cover. | | Bot takes longer than expected | Complex requests may take longer. The bot notifies you if a request times out. | | Bot responds but link is broken | Refresh the page and try the link again. If the issue persists, contact ****. | ## Next steps [Section titled “Next steps”](#next-steps) * [Turn a Slack support thread into a troubleshooting doc](/agent/slack-thread-to-troubleshooting-doc/): Convert a resolved support conversation into a published guide. * [GitHub PR bot](/agent/github-integration/): Trigger Docs Agent from pull request comments and code reviews. * [Create documentation](/agent/create/): Generate READMEs, API references, and guides from your codebase. * [Update and review](/agent/update-review/): Keep documentation in sync with code changes. * [Integrations](/agent/integrations/): Connect Notion, Linear, Jira, and other tools. # Turn a Slack support thread into a troubleshooting doc > Use the Docs Agent Slack bot to convert a resolved support thread into a troubleshooting guide and open a pull request for review. Turn a resolved Slack support thread into a published troubleshooting doc without leaving Slack. @mention EkLine in the thread, and Docs Agent reads the conversation, drafts a troubleshooting guide, and opens a pull request you review and merge. ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account with Docs Agent enabled. * The [Docs Agent Slack bot](/agent/slack-bot/) connected to your workspace. * At least one documentation repository [connected to EkLine](/agent/github-app-setup/). * A resolved support thread: one where the problem and the fix are both visible in the conversation. ## Convert the thread [Section titled “Convert the thread”](#convert-the-thread) 1. Open the Slack thread where the team diagnosed and resolved the issue. The clearer the thread states the symptom and the fix, the better the draft. 2. Reply in the thread with an `@EkLine` mention that names the document type, the problem, and where the doc should live: ```text @EkLine turn this thread into a troubleshooting guide for the API timeout error. Add it to the docs repo under troubleshooting, and describe the symptom, the cause, and the fix. ``` The bot reacts with 👀 to confirm it picked up your request, then starts working. 3. Follow the bot’s progress in the thread. Docs Agent reads the thread, identifies the problem and the resolution, and drafts the guide. When it starts, the bot posts a message with a **View EkLine chat** button. Click it to open the session in the editor, where you can refine the draft. Each reply from the agent ends with **See the full chat**, a link to the same session, so you can reopen it from anywhere in the thread. 4. Review the draft. Docs Agent posts the diff in the thread as a file titled **Proposed changes**, which Slack shows collapsed until you expand it, so you can read the changes without leaving Slack. ## Write an effective mention [Section titled “Write an effective mention”](#write-an-effective-mention) A support thread is chatty, so tell the bot exactly what to produce. A specific mention keeps off-topic messages out of the draft. | Instead of… | Try… | | ----------------------- | --------------------------------------------------------------------------------------------- | | “@EkLine document this” | “@EkLine write a troubleshooting guide for the failed webhook delivery issue in this thread” | | “@EkLine make a doc” | “@EkLine turn this thread into a troubleshooting entry: symptom, cause, and resolution steps” | | “@EkLine help” | “@EkLine document the workaround Priya described, and link the related Jira ticket” | **Include specific details:** * State the document type: troubleshooting guide, how-to, or FAQ entry. * Name the error or symptom the thread resolved. * Point to the repository and folder where the guide belongs. * Reference ticket or pull request URLs mentioned in the thread for extra context. ## What the bot reads from the thread [Section titled “What the bot reads from the thread”](#what-the-bot-reads-from-the-thread) Docs Agent gathers context from the conversation to produce an accurate guide: | Context type | What the bot captures | | ---------------- | ----------------------------------------------------------------- | | Thread messages | Every reply in the thread | | Channel messages | Messages surrounding the thread for extra context | | Attachments | Images (JPEG, PNG, GIF, WebP), PDFs, and videos up to 100 MB each | Docs Agent keeps only the attachments relevant to your request and ignores the rest, so it picks up screenshots of the error while leaving unrelated files out. ## Review and merge [Section titled “Review and merge”](#review-and-merge) 1. Read the diff in the thread, or click **View EkLine chat** to open the draft in the editor. 2. Ask Docs Agent to refine anything that reads inaccurately. Reply in the thread with a fresh `@EkLine` mention, for example `@EkLine add a prevention section` or `@EkLine tighten the resolution steps to three bullets`. 3. When the draft changes documentation files, Docs Agent opens a pull request automatically and includes the link in its reply. Open the pull request to finish the review on GitHub. 4. Merge the pull request to publish the troubleshooting guide. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause | Fix | | ------------------------------------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | | The bot doesn’t respond | The bot acts only on `@EkLine` mentions | Reply in the thread with a fresh `@EkLine` mention. Plain replies without a mention are ignored. | | The bot asks a clarifying question | Your request was ambiguous | Answer with another `@EkLine` mention. The bot asks only once: on your next mention, Docs Agent starts the draft with its best reading of the request. | | The draft mixes in off-topic messages | The mention was too general | Name the specific error and document type in your mention so the bot filters the conversation. | | No pull request appears | The turn didn’t change documentation files, or **Automatically raise PRs from Slack requests** is off | Confirm the draft edits docs files. Check the **Automatically raise PRs from Slack requests** toggle under **Settings** > **Docs Agent** > **Slack triggers**. | | An attachment was ignored | The file is over 100 MB, an unsupported type, or unrelated to your request | Re-share the file under 100 MB in a supported format, and reference it in your mention. | | The guide lands in the wrong place | Docs Agent chose a repository or folder you didn’t intend | Name the target repository and path in your mention, then ask the bot to move the file. | ## Next steps [Section titled “Next steps”](#next-steps) * [Docs Agent Slack bot](/agent/slack-bot/): connect the bot and learn how mentions, drafts, and diffs work. * [Create documentation](/agent/create/): generate docs from your codebase, videos, and other sources. * [Update and review](/agent/update-review/): keep documentation in sync with code changes. * [Integrations](/agent/integrations/): connect Slack, Notion, Jira, and other tools. # Connect Atlassian Teamwork Graph to EkLine Docs Agent > Add an Atlassian API token so Docs Agent can search your entire Confluence site for source material. Use a service account for stable, scoped access. Connect Atlassian Teamwork Graph so Docs Agent can search your entire Confluence site for source material. Instead of pointing the agent at a single page, you let it find the relevant pages across every space the connected account can access. It then uses what it finds to draft and update documentation. This connection is read-only. The agent searches and reads Confluence through it, and never writes back. Publishing edits to Confluence stays in the [knowledge base management](/agent/manage-knowledge-base/) workflow. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) * An EkLine account with Docs Agent. * An Atlassian account with access to the Confluence content you want the agent to search. * Permission to create an Atlassian API token for that account. If you do not see the **Atlassian Teamwork Graph** card under **Settings** > **Integrations**, contact . ## Use a service account [Section titled “Use a service account”](#use-a-service-account) Connect with a dedicated Atlassian service account rather than an individual’s account. A service account is a standard Atlassian account your team creates for automated access. A service account gives you: * **Stable ownership.** The connection keeps working when a team member changes roles or leaves. A token tied to a personal account stops working when that account is deactivated. * **Scoped access.** Grant the service account access to only the spaces the agent should search. The account’s Confluence permissions are the boundary for what the agent can read. * **Clear auditing.** Activity in Confluence appears under a recognizable account, such as `EkLine AI`, instead of a person’s name. ## Create an Atlassian API token [Section titled “Create an Atlassian API token”](#create-an-atlassian-api-token) Create the token from one of two places, depending on the account you connect. A service account token is the recommended option. ### Create a service account API token (recommended) [Section titled “Create a service account API token (recommended)”](#create-a-service-account-api-token-recommended) An organization administrator creates the token from the Atlassian admin console. For full details, see the Atlassian guides to [service accounts](https://support.atlassian.com/user-management/docs/understand-service-accounts/) and [API tokens for service accounts](https://support.atlassian.com/user-management/docs/manage-api-tokens-for-service-accounts/). 1. **Open the Atlassian admin console.** Go to [admin.atlassian.com](https://admin.atlassian.com) and select your organization if you have more than one. 2. **Open your service accounts.** Select **Directory** > **Service accounts**. If you don’t have a service account yet, create one for EkLine first, such as `EkLine AI`. 3. **Create credentials.** Select the service account, then click **Create credentials**. Select **API token**, then click **Next**. 4. **Name the token and set an expiration.** Enter a recognizable name such as `EkLine Docs Agent`, then set an expiration date. Atlassian allows an expiration between 1 and 365 days. 5. **Select scopes.** Select every scope with the **Classic** scope type and a **Read**, **Read only**, or **Search** action. These give the agent read and search access to Confluence without granting write access. Click **Next**. 6. **Create and copy the token.** Review the token, click **Create**, then click **Copy to clipboard** and store the token securely. Caution Atlassian shows the token value only once. Copy it before you leave the page. ### Create a personal API token [Section titled “Create a personal API token”](#create-a-personal-api-token) Connect with an individual account when you want to test the integration quickly. A personal token stops working when that account is deactivated, so prefer a service account for ongoing use. 1. **Open the API tokens page.** Sign in as the account the agent uses, then go to [id.atlassian.com/manage-profile/security/api-tokens](https://id.atlassian.com/manage-profile/security/api-tokens). For full details, see the [Atlassian guide to managing API tokens](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/). 2. **Create a token.** Click **Create API token**, enter a recognizable label such as `EkLine Docs Agent`, and set an expiration date that fits your organization’s rotation policy. 3. **Copy the token.** Copy the generated token and store it securely. It starts with `ATATT`. Caution Atlassian shows the token value only once. Copy it before you leave the page. ## Connect Teamwork Graph in EkLine [Section titled “Connect Teamwork Graph in EkLine”](#connect-teamwork-graph-in-ekline) 1. **Open your integrations.** Go to your [EkLine dashboard](https://ekline.io/dashboard) and navigate to **Settings** > **Integrations**. 2. **Start the connection.** Find the **Atlassian Teamwork Graph** card and click **Connect**. 3. **Enter your Atlassian site.** In the **Atlassian site** field, enter your full site URL, such as `mycompany.atlassian.net`. 4. **Enter the account email.** In the **Atlassian account email** field, enter the email of the account whose token you created. For a service account, this is the service account’s email. 5. **Enter the API token.** Paste the token into the **API token** field. EkLine never shows the token again after you connect. 6. **Connect.** Click **Connect**. EkLine validates the credentials against Confluence before saving. If validation fails, EkLine shows an error and stores nothing. ## Verify the connection [Section titled “Verify the connection”](#verify-the-connection) Confirm the integration is ready: * The **Atlassian Teamwork Graph** card shows a connected status. * In a Docs Agent session, ask the agent to find a Confluence page you know exists, and confirm it returns a result: ```text Search Confluence for our internal runbook on database failover and summarize the recovery steps. ``` ## Use Teamwork Graph in Docs Agent [Section titled “Use Teamwork Graph in Docs Agent”](#use-teamwork-graph-in-docs-agent) After you connect, ask the agent to find source material in Confluence as part of a documentation task. ```text Find the Confluence pages that describe our authentication flow, then draft a public "How authentication works" guide from them. ``` ```text Search Confluence for anything we've written about rate limiting and list the pages so I can pick which to turn into docs. ``` The agent reads only content the connected account has permission to view. Grant the service account access to a space to make that space searchable; remove access to take it out of scope. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) | Problem | Cause | Fix | | ----------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | The connection fails when you click **Connect** | The email or token is wrong, or the token was revoked | Confirm the email matches the account that created the token, then create a fresh token and try again | | The agent finds no pages | The connected account can’t see the space | Grant the account access to the space in Confluence, then search again | | The agent can’t find a page you can see | You and the connected account have different Confluence permissions | Give the connected service account access to that space | | The token stopped working | The token expired or the account was deactivated | Create a new token and reconnect. Create it on a service account, so the connection does not break when someone leaves | ## Next steps [Section titled “Next steps”](#next-steps) * [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/): let the agent update Confluence pages and publish changes back. * [Docs Agent integrations](/agent/integrations/): reference Slack, Notion, Jira, Confluence, and more in your prompts. * [Create documentation](/agent/create/): generate a draft from your connected sources. *** ## Stuck? [Section titled “Stuck?”](#stuck) Reply to your welcome email or contact . We read every message. # Tutorial: turn recurring support questions into a knowledge base article > Use Docs Agent to turn a recurring support question into a Pylon help center article: draft it from a resolved thread, review it, and publish it live. Close a support gap end to end. You start from a question customers keep asking and finish with a published help center article that answers it. Along the way, Docs Agent drafts the article from the support thread that already resolved the issue. You review it, match it to your help center’s style, and publish it live to your Pylon help center. By the end, you can: * Recognize when a repeat ticket is a documentation gap rather than a one-off. * Draft a self-serve help center article from the support conversation that resolved the question. * Review the draft the way a customer reads it, so the article deflects the next ticket instead of prompting a follow-up. * Publish the article straight to your help center and link it back to the customers who ask. The whole path takes about 20 minutes. For a single README, see [Getting started](/agent/getting-started/). To document a release, see [document a release](/agent/tutorial-document-a-release/). ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account. If you don’t see **KB Management** under **Settings** > **Integrations**, contact . * A connected Pylon help center with at least one knowledge base marked as managed, a default author set, and permission to publish to it. An administrator connects it once. See [Connect your knowledge base](/agent/manage-knowledge-base/#connect-your-knowledge-base). The agent creates new articles only in Pylon. In a Confluence space it updates existing pages, so for Confluence, ask it to add the answer to an existing page instead. * A recurring question to close: one your team has answered more than once, with a resolved support thread or a ticket that shows the symptom and the fix. You don’t answer the ticket again during this tutorial. The answer already exists in a thread or a ticket. You turn it into an article your customers find themselves. ## Step 1: Confirm the question is a documentation gap [Section titled “Step 1: Confirm the question is a documentation gap”](#step-1-confirm-the-question-is-a-documentation-gap) Not every ticket is worth an article. A question is a documentation gap when customers hit it repeatedly and the answer is stable enough to publish. Before you open a session, pin down three things: * **The question, in the customer’s words.** Write the one sentence a customer types into search, not the internal shorthand your team uses for it. * **The evidence.** Find two or more tickets or threads where the question came up, so you know it recurs. * **The resolution.** Pick the clearest resolved thread. The better it states the symptom and the fix, the closer the first draft lands. **Verify:** You can state the question in one sentence and point to at least two instances of it, one of them resolved. ## Step 2: Open a session [Section titled “Step 2: Open a session”](#step-2-open-a-session) 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. **Verify:** The new session page reads **I can help improve your documentation**, with a box for your request. The editor panel and its toolbar open on the left once the agent drafts a file. ![The Docs Agent editor with the sessions sidebar and chat panel ready for a prompt](/assets/images/docs-agent-editor.png) ## Step 3: Draft the article from the support thread [Section titled “Step 3: Draft the article from the support thread”](#step-3-draft-the-article-from-the-support-thread) Hand the agent the resolved thread and tell it to write for customers, not for your team. When you reference the thread, the agent reads the conversation, pulls out the symptom and the fix, and drafts a new help center article rather than a copy of the discussion. In the chat panel, name the question, the evidence, and where the article belongs: ```text Customers keep asking how to reset an expired API token, and support answers it in most weeks. Draft a new help center article that answers it end to end, based on this resolved thread: https://workspace.slack.com/archives/C01234/p1234567890 Write for customers who have never seen our dashboard, and add it to our support knowledge base. ``` **Verify:** The agent reads the thread, drafts a new article in the editor panel on the left, and reports what it based the article on. ## Step 4: Review it the way a customer reads it [Section titled “Step 4: Review it the way a customer reads it”](#step-4-review-it-the-way-a-customer-reads-it) Never publish the first draft unread. Support content fails when it answers the team’s version of the question instead of the customer’s. Read the draft as if you were the customer who opened the ticket. 1. Ask the agent to check its own draft against the goal: ```text Review this draft as a customer who has never contacted support. Does it answer the whole question on its own? Flag any step that assumes internal knowledge, any point where they would still need to open a ticket, and anything that no longer matches the product. ``` 2. Check three things across the draft: * **Completeness**: Does the article answer the question end to end, so the customer never needs to ask? * **Accuracy**: Does each step match how the product behaves today? * **Scope**: Does it stay on this one question instead of drifting into adjacent topics? 3. Refine anything that reads inaccurately with a follow-up prompt rather than editing by hand. For example: `Add a short section on what to do when the reset email never arrives, since that is the follow-up question in the thread.` The agent keeps the context from your first prompt and updates the same draft. 4. Each time the agent changes the draft, the editor shows its edits under a **Reviewing changes** banner. Click **Accept All** to keep them, or **Reject All** to discard them. **Verify:** The checkpoint reports no remaining gaps, or you resolve each one it raises with a follow-up prompt. ![Docs Agent review checkpoint listing completeness, technical accuracy, and style compliance feedback in the chat panel](/assets/images/docs-agent-review-checkpoint.png) ## Step 5: Match your help center’s style [Section titled “Step 5: Match your help center’s style”](#step-5-match-your-help-centers-style) A new article should read like the ones already in your help center. Point the agent at an existing article so the draft picks up your structure, headings, and voice. ```text Match this to the format of our existing "Reset your password" article: same heading style, a short summary at the top, and numbered steps. Keep the tone plain and reassuring. ``` To hold that style across every article without repeating yourself, set it once in [custom instructions](/agent/custom-instructions/). The agent then applies your help center’s conventions to each draft. **Verify:** The draft uses the same structure and voice as your existing articles, with the recurring question answered in your house style. ## Step 6: Publish the article to your help center [Section titled “Step 6: Publish the article to your help center”](#step-6-publish-the-article-to-your-help-center) When the article reads clearly and matches your style, publish it straight to the source. In a knowledge base session, the toolbar shows **Update KB** in place of **Raise PR**. Your approval publishes the article instead of opening a pull request. 1. Read the full article in the editor panel one last time. 2. Click **Update KB** in the toolbar. The tooltip reads **Publish your knowledge base edits**. 3. The agent prefills the prompt `Publish my knowledge base edits`. Press **Enter** to send it, and the agent publishes the article. Caution Publishing is immediate. The article goes live in your help center as soon as the agent publishes it, with no pull request to review, so read it in full first. New Pylon articles are attributed to the default author set in **KB Management**. **Verify:** Open your help center. The new article is live, its headings and steps render correctly, and it matches what you reviewed in the editor. ## Step 7: Close the loop [Section titled “Step 7: Close the loop”](#step-7-close-the-loop) An article only reduces tickets once customers reach it. Finish by connecting the article back to the question: * **Link it in your reply.** The next time the question comes in, answer with a link to the new article instead of retyping the fix. * **Watch whether the question returns.** If customers still open tickets, reopen the session and sharpen the article with a follow-up prompt, then publish again. * **Automate the recurring audit.** Once you have a few articles, an [automation](/agent/scheduled-agents/) can review your help center against the latest product behavior on a cadence, so published answers stay current without a manual pass. **Verify:** You can answer the customer’s question with a single link, and the article resolves it without a follow-up ticket. ## Summary [Section titled “Summary”](#summary) You turned a repeat support question into a published, self-serve article. Along the way you: * Confirmed the question was a documentation gap, not a one-off. * Drafted a help center article from the thread that resolved it, written for customers. * Reviewed the draft for self-serve completeness and matched it to your help center’s style. * Published it live to your Pylon help center and linked it back to the customers who ask. This is the ritual you repeat whenever a question keeps landing in the queue. The clearer the resolved thread you start from, the closer the first draft lands, and the faster each recurring question turns into an answer customers find on their own. ## Next steps [Section titled “Next steps”](#next-steps) * [Manage a Confluence or Pylon knowledge base](/agent/manage-knowledge-base/): Update existing articles, maintain a whole space, and manage images. * [Turn a Slack support thread into a troubleshooting doc](/agent/slack-thread-to-troubleshooting-doc/): Draft from a thread without leaving Slack, for docs that live in a git repository. * [Customize for your organization](/agent/custom-instructions/): Set your help center’s tone and structure once so every draft matches. * [Automations](/agent/scheduled-agents/): Keep published answers current with a recurring audit. # Tutorial: document a code change end to end > Follow Docs Agent through a full workflow: connect a repository, document a real code change, review and refine the draft, and ship a pull request. Keep your documentation in sync when your code changes. You start from an empty session and finish with a merge-ready pull request that updates your docs to match a change your team shipped. By the end, you can: * Connect a repository so the agent can read your code and existing docs. * Ask the agent to update documentation for a specific code change. * Review the draft, catch problems, and refine it with a follow-up prompt. * Open a pull request and push a follow-up commit after review feedback. The whole path takes about 20 minutes. For a single README, see [Getting started](/agent/getting-started/). ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account in your organization. * A repository that contains both code and Markdown documentation. Any repository with a `docs/` folder or a README works. * Permission to open pull requests on that repository. You don’t need to write any code during this tutorial. You describe a change that already happened, and the agent updates the docs to match. ## Step 1: Connect your repository [Section titled “Step 1: Connect your repository”](#step-1-connect-your-repository) The agent can only document code it can read, so connect a repository first. 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. 3. If you haven’t connected a repository yet, follow [Connect GitHub to EkLine](/agent/github-app-setup/) to install the GitHub App and select which repositories the agent can access. **Verify:** The new session page reads **I can help improve your documentation**, with a box for your request. The editor panel opens on the left once the agent drafts a file. ![A new Docs Agent session with the sessions sidebar and the chat panel ready for a prompt](/assets/images/docs-agent-editor.png) If you use GitLab instead, follow [Connect GitLab to EkLine](/agent/gitlab-setup/). The rest of this tutorial is the same. ## Step 2: Describe the change to document [Section titled “Step 2: Describe the change to document”](#step-2-describe-the-change-to-document) Pick a change your team shipped recently, such as a new configuration option, a renamed endpoint, or a deprecated flag. For this tutorial, imagine your API added a `timeout` parameter to its authentication call. In the chat panel, give the agent both the change and where it lives in the code: ```text We added a `timeout` parameter to the authentication call in src/api/auth.ts. Update the API reference in docs/ to document the new parameter, its type, its default, and an example. ``` **Verify:** The agent responds in the chat and begins reading your repository. When it finishes, a draft of the updated documentation appears in the editor panel on the left. ## Step 3: Review the draft [Section titled “Step 3: Review the draft”](#step-3-review-the-draft) Never ship the first draft unread. The agent works from your code, but you know your product, so check that the change is described correctly before going further. 1. Read the draft in the editor panel. Under the **Reviewing changes** banner, the editor marks each change from the agent’s last turn. 2. Look for three things: * **Accuracy**: Does the parameter type and default match your code? * **Placement**: Did the agent add the parameter to the right section? * **Unintended edits**: Did it change anything you didn’t ask it to? 3. Click **Accept All** to keep the changes, or **Reject All** to discard them. 4. Enable **View All Changes** in the toolbar to see a diff of every change against your repository. **Verify:** The diff shows your documentation with the new `timeout` parameter added, and no unrelated content removed. ## Step 4: Refine with a follow-up [Section titled “Step 4: Refine with a follow-up”](#step-4-refine-with-a-follow-up) Reviewing almost always surfaces something to improve. Instead of editing by hand, ask the agent: it keeps the change consistent with the surrounding docs. Suppose the draft documents the parameter but omits what happens when the timeout is exceeded. Send a follow-up prompt: ```text Add a note explaining what error the API returns when the timeout is exceeded, and cross-link it to the error reference. ``` The agent updates the same draft rather than starting over, and the editor shows its changes under the **Reviewing changes** banner again. Click **Accept All** to keep them. You can refine as many times as you need: each prompt builds on the current state of the document. ![Docs Agent review checkpoint listing completeness, technical accuracy, and style compliance feedback in the chat panel](/assets/images/docs-agent-review-checkpoint.png) **Verify:** The draft now includes the timeout error behavior and a link to the error reference. ## Step 5: Open a pull request [Section titled “Step 5: Open a pull request”](#step-5-open-a-pull-request) When the draft matches the change and reads well, ship it through your normal review process. 1. Click **Raise PR** in the toolbar. 2. The agent prefills a prompt such as `Open a pull request`. Edit it to add a title or description if you want, then press **Enter**. 3. The agent creates the pull request and responds in the chat with a link to it on GitHub. **Verify:** The chat shows a link to a new pull request. Open it. The PR contains your documentation changes and nothing else. ## Step 6: Push a follow-up after review [Section titled “Step 6: Push a follow-up after review”](#step-6-push-a-follow-up-after-review) Documentation goes through review like any other change. When a reviewer asks for an edit, you don’t need to start a new session. Push the fix to the same PR. 1. Back in the editor, ask the agent for the requested change. For example: `"The reviewer wants the example to use an environment variable instead of a hardcoded value. Update it."` 2. Click **Accept All** to keep the agent’s change. **Update PR** appears in the toolbar only after you accept or reject it. 3. Click **Update PR** in the toolbar. 4. The agent prefills a prompt like `Update pull request #42 with my latest changes`. Press **Enter**. **Verify:** The agent commits to the existing PR branch and confirms in the chat. Refresh the pull request on GitHub. The new commit appears in its history. ## Summary [Section titled “Summary”](#summary) You took a code change from an unread repository to a review-ready pull request. Along the way you: * Connected a repository so the agent could read your code and docs. * Documented a specific change by pointing the agent at the source file. * Reviewed the draft for accuracy, placement, and unintended edits. * Refined the content with follow-up prompts instead of editing by hand. * Opened a pull request and pushed a follow-up commit after review. This is the loop you repeat whenever your product changes. The more context you give the agent (file paths, tickets, linked sources), the closer each first draft lands. ## Next steps [Section titled “Next steps”](#next-steps) * [Update and review documentation](/agent/update-review/): More ways to update from tickets, commits, and specific sections. * [Integrations](/agent/integrations/): Pull context from Slack, Notion, Linear, Jira, and Confluence into your prompts. * [Prevent documentation drift](/agent/prevent-documentation-drift/): Catch out-of-date docs automatically with a scheduled review. * [Set up automated style checks](/reviewer/quickstart/): Enforce style guides on every pull request with Docs Reviewer. # Tutorial: document a release end to end > Follow Docs Agent through a release: update the docs your shipped tickets affect, draft release notes, check for stale pages, and ship one pull request. Document a release from the tickets your team shipped. You start from a completed milestone and finish with a single pull request. It updates the affected docs, adds user-facing release notes, and confirms that nothing went stale. The pull request is ready to merge before you launch. By the end, you can: * Update the documentation a set of shipped tickets affects, without hunting for the right pages yourself. * Generate structured, user-facing release notes from the same tickets. * Ask the agent to check the updated docs for anything the release left out of date. * Ship everything in one pull request and push a follow-up after review. The whole path takes about 20 minutes. For a single README, see [Getting started](/agent/getting-started/). To document one change, see [document a code change](/agent/tutorial-document-a-code-change/). ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account in your organization. * A repository [connected to EkLine](/agent/github-app-setup/) that holds your documentation, and permission to open pull requests on it. * A connected ticket source. Docs Agent reads releases from **Linear** or **Jira**. Connect one under **Settings** > **Integrations**; see [Integrations](/agent/integrations/). * A shipped release to document: a Linear project or milestone, a Jira `fixVersion`, or an explicit range such as `ENG-100` through `ENG-110`. You don’t write any code during this tutorial. The work already shipped; you bring the documentation up to date to match it. ## Step 1: Open a session [Section titled “Step 1: Open a session”](#step-1-open-a-session) 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. **Verify:** The new session page reads **I can help improve your documentation**, with a box for your request. The editor panel and its toolbar open on the left once the agent drafts a file. ![The Docs Agent editor with the sessions sidebar and chat panel ready for a prompt](/assets/images/docs-agent-editor.png) ## Step 2: Update the docs your release affects [Section titled “Step 2: Update the docs your release affects”](#step-2-update-the-docs-your-release-affects) Instead of opening each page yourself, hand the release to the agent. When you reference the tickets, the agent reads each one and identifies which documentation the change touches. In the chat panel, name the release and what changed: ```text We shipped the v2.1 release: Linear tickets ENG-100 through ENG-110. Update the documentation each ticket affects. Focus on user-facing changes: new features, changed behavior, and anything we deprecated. ``` **Verify:** The agent reads each ticket, reports the pages it plans to change, and writes the updated documentation to the editor panel on the left. ## Step 3: Review the doc updates [Section titled “Step 3: Review the doc updates”](#step-3-review-the-doc-updates) Never ship the first draft unread. The agent works from your tickets and code, but you know what shipped, so confirm each change before going further. 1. Open each changed page from its tab in the editor panel. Under the **Reviewing changes** banner, the editor marks each change from the agent’s last turn. 2. Check three things across the changes: * **Coverage**: Does every user-facing ticket in the release show up somewhere in the docs? * **Accuracy**: Does each update describe the change the way it actually behaves? * **Scope**: Did the agent leave unrelated content alone? 3. Refine anything that reads inaccurately with a follow-up prompt rather than editing by hand, for example `Move the rate-limiting change into the API reference instead of the getting-started guide`. The agent keeps the context from your first prompt and updates the same drafts. 4. On each changed page, click **Accept All** to keep the changes, or **Reject All** to discard them. 5. Enable **View All Changes** in the toolbar to see a diff of every page the agent touched. **Verify:** The diff shows the pages your release affected, updated to match what shipped, with no unrelated content removed. ## Step 4: Generate release notes from the same tickets [Section titled “Step 4: Generate release notes from the same tickets”](#step-4-generate-release-notes-from-the-same-tickets) The docs now describe the new behavior. Next, produce the user-facing summary that announces it. The agent reads the same tickets and rewrites the work in plain language. Send a prompt that names the version, the sections, and the audience: ```text Generate release notes for v2.1 from the same tickets. Group them under Features, Improvements, and Bug Fixes. Write for end users, one sentence per item, and add the new version at the top of CHANGELOG.md. ``` The agent summarizes each ticket from the user’s perspective rather than copying the ticket text, so internal shorthand stays out of the published note. ![The Docs Agent chat panel with a release-notes prompt that names a ticket range and the output sections](/assets/images/docs-agent-release-notes.png) **Verify:** A new v2.1 entry appears at the top of `CHANGELOG.md` in the editor, grouped into the sections you named, with one plain-language line per shipped ticket. ## Step 5: Check for anything the release left stale [Section titled “Step 5: Check for anything the release left stale”](#step-5-check-for-anything-the-release-left-stale) A release often changes behavior that older pages still describe the old way. Before you publish, ask the agent to review its own work against the release. ```text Review the pages you changed for this release. Flag anything that still describes the old behavior, any feature we shipped that no page mentions, and any example that no longer matches the release. ``` The agent returns a review checkpoint that covers completeness, technical accuracy, and style compliance, with an overall grade. Treat each flagged item as a to-do: ask the agent to fix the ones that matter, the same way you refined the drafts in Step 3. ![Docs Agent review checkpoint listing completeness, technical accuracy, and style compliance feedback in the chat panel](/assets/images/docs-agent-review-checkpoint.png) **Verify:** The checkpoint reports no remaining gaps for the release, or you resolve each one it raises with a follow-up prompt. ## Step 6: Ship one pull request [Section titled “Step 6: Ship one pull request”](#step-6-ship-one-pull-request) When the docs and the release notes both match what shipped, ship them together through your normal review process. 1. Click **Raise PR** in the toolbar. If your changes span more than one repository, the toolbar shows a dropdown instead, labeled with the number of repositories that need action (for example, **2 need action**). Open it and click **Raise PR** next to the repository you want. 2. The agent prefills a prompt such as `Open a pull request`. Edit it to add a title or description if you want, then press **Enter**. 3. The agent creates the pull request and replies in the chat with a link to it on GitHub. **Verify:** The chat shows a link to a new pull request. Open it. The PR has your doc updates and release notes for the release, and nothing else. ## Step 7: Push a follow-up after review [Section titled “Step 7: Push a follow-up after review”](#step-7-push-a-follow-up-after-review) A reviewer often spots a late-arriving ticket or a wording change. You don’t need a new session. Push the fix to the same pull request. 1. Back in the editor, ask the agent for the change. For example: `A late ticket, ENG-111, also shipped in v2.1. Add it to the release notes under Bug Fixes and update any docs it affects.` 2. On each changed page, click **Accept All** to keep the agent’s changes. **Update PR** appears in the toolbar only after you accept or reject them. 3. Click **Update PR** in the toolbar. 4. The agent prefills a prompt like `Update pull request #42 with my latest changes`. Press **Enter**. **Verify:** The agent commits to the existing PR branch and confirms in the chat. Refresh the pull request on GitHub. The new commit appears in its history. ## Summary [Section titled “Summary”](#summary) You took a shipped release from a list of tickets to a review-ready pull request. Along the way you: * Updated the documentation each ticket affected, letting the agent find the right pages. * Generated user-facing release notes from the same tickets. * Checked the updated docs for anything the release left stale. * Shipped the doc updates and the release notes in one pull request, then pushed a follow-up after review. This is the ritual you repeat every release. The more precisely you name the release and what changed, the closer each draft lands, and the less your docs lag behind what your users already have. ## Next steps [Section titled “Next steps”](#next-steps) * [Generate release notes from completed tickets](/agent/release-notes/): More ways to structure, group, and template release notes. * [Update and review documentation](/agent/update-review/): Update from tickets, commits, or specific sections, and get feedback on existing content. * [Prevent documentation drift](/agent/prevent-documentation-drift/): Catch out-of-date docs automatically with automatic PR review and a scheduled audit. * [Automate release notes](/agent/scheduled-agents/): Draft release notes on a recurring cadence with an automation. # Tutorial: document an undocumented repository > Use Docs Agent to turn a repository with no docs into a linked documentation set: survey the code, plan a structure, generate pages, and ship one pull request. Turn a repository that has no documentation into a structured documentation set: an overview, a getting started guide, and an API reference. You start from an empty session and finish with a single pull request that adds all three pages, written to a consistent style. By the end, you can: * Have the agent survey a codebase and propose a documentation structure. * Generate several linked pages in one session. * Teach the agent your style and terminology so the pages read as one set. * Review every new page and ship them all in one pull request. The whole path takes about 30 minutes. For a single README, see [Getting started](/agent/getting-started/). To update docs that already exist, see [Tutorial: document a code change](/agent/tutorial-document-a-code-change/). ## Before you begin [Section titled “Before you begin”](#before-you-begin) You need: * An EkLine account in your organization. * A repository that contains working code but little or no documentation. A small library or service works best for a first run. * Permission to open pull requests on that repository. You don’t write any documentation by hand in this tutorial. You direct the agent, review what it drafts, and refine it with follow-up prompts. ## Step 1: Connect your repository [Section titled “Step 1: Connect your repository”](#step-1-connect-your-repository) The agent documents only code it can read, so connect a repository first. 1. Log in to your [EkLine dashboard](https://ekline.io/dashboard). 2. Click **New session** in the sidebar. If the composer shows **Docs** and **Marketing**, select **Docs**. 3. If you haven’t connected a repository yet, follow [Connect GitHub to EkLine](/agent/github-app-setup/) to install the GitHub App and select which repositories the agent can access. **Verify:** The new session page reads **I can help improve your documentation**, with a box for your request. The editor panel opens on the left once the agent drafts a file. ![A new Docs Agent session with the sessions sidebar and the chat panel ready for a prompt](/assets/images/docs-agent-editor.png) If you use GitLab instead, follow [Connect GitLab to EkLine](/agent/gitlab-setup/). The rest of this tutorial is the same. ## Step 2: Survey the codebase [Section titled “Step 2: Survey the codebase”](#step-2-survey-the-codebase) Before you generate a single page, let the agent read the repository and tell you what a documentation set should contain. This grounds every later page in what the code actually does. In the chat panel, type: ```text This repository has no documentation. Survey the codebase and propose a documentation structure. List the pages to create, what each page should cover, and who it is for. ``` The agent reads your repository structure, source files, and configuration, then responds with a proposed outline. **Verify:** The agent responds with a list of proposed pages and a short description of each. Read it and decide which pages to create first. The next steps create three: an overview, a getting started guide, and an API reference. ## Step 3: Generate the overview page [Section titled “Step 3: Generate the overview page”](#step-3-generate-the-overview-page) Start with the page that frames everything else. Give the agent the page, the audience, and where it belongs. ```text Create an overview page at docs/index.md. Explain what this project does, who it is for, and its key capabilities. Keep it to a short introduction that links out to the other pages. ``` **Verify:** A draft of the overview appears in the editor panel on the left. Read it and confirm the description of the project matches what the code does. ## Step 4: Generate the rest of the set [Section titled “Step 4: Generate the rest of the set”](#step-4-generate-the-rest-of-the-set) With the overview in place, add the remaining pages in the same session. The agent keeps each new page consistent with the ones already drafted. 1. Generate the getting started guide: ```text Create a getting started guide at docs/getting-started.md. Cover installation, the minimum configuration, and a first working example pulled from the code. ``` 2. Generate the API reference: ```text Create an API reference at docs/api-reference.md for the public functions in this repository. Include parameters, return values, and an example for each. ``` 3. Switch between the drafts in the editor panel to read each page. For more ways to generate each page type, see [Create documentation](/agent/create/) and [Generate an API reference](/agent/generate-api-reference/). To pull in a spec or a design doc from a connected tool, see [Combine multiple sources](/agent/combine-sources/). **Verify:** The editor panel shows a tab for each of the three new files: `docs/index.md`, `docs/getting-started.md`, and `docs/api-reference.md`. ## Step 5: Make the pages read as one set [Section titled “Step 5: Make the pages read as one set”](#step-5-make-the-pages-read-as-one-set) Separate prompts can drift in tone and terminology. Bring the set into line with a single follow-up. ```text Review these three pages together. Use the same term for each concept across all of them, match the heading style, and make sure every link between the pages resolves. ``` Because the agent is now changing pages it already drafted, the editor shows its edits under a **Reviewing changes** banner. Open each page’s tab, read the changes, and click **Accept All** to keep them or **Reject All** to discard them. **Verify:** The agent updates the drafts so the pages share terminology and heading style, and the cross-links between them point to real pages. ## Step 6: Review the whole set [Section titled “Step 6: Review the whole set”](#step-6-review-the-whole-set) Never ship a first draft unread. You know your product, so check the set before it becomes a pull request. 1. Open each file in the editor panel and read it in full. 2. Check the file tabs in the editor panel for any file you didn’t ask for. 3. Check three things on every page: * **Accuracy**: Does each page describe what the code actually does? * **Completeness**: Does the getting started guide take a reader from nothing to a working example? * **Consistency**: Do the three pages use the same terms and structure? If something is off, ask the agent to fix it rather than editing by hand. For example: `"The installation command in the getting started guide is wrong. Read the package configuration and correct it."` **Verify:** The three pages are accurate, complete, and consistent, and the editor panel holds no file you didn’t ask for. ## Step 7: Ship the set in one pull request [Section titled “Step 7: Ship the set in one pull request”](#step-7-ship-the-set-in-one-pull-request) When the set reads well, publish all three pages through your normal review process. 1. Click **Raise PR** in the toolbar. 2. The agent prefills a prompt such as `Open a pull request`. Edit it to add a title or description if you want, then press **Enter**. 3. The agent creates the pull request and responds in the chat with a link to it on GitHub. **Verify:** The chat shows a link to a new pull request. Open it. The PR adds your three documentation pages and nothing else. ## Summary [Section titled “Summary”](#summary) You took a repository from no documentation to a review-ready pull request. Along the way you: * Had the agent survey the codebase and propose a structure. * Generated an overview, a getting started guide, and an API reference in one session. * Brought the pages into a single, consistent style. * Reviewed every page and shipped the whole set in one pull request. You now have a documentation set to build on. Each time your product changes, you update it with the same review-and-refine loop rather than starting over. ## Next steps [Section titled “Next steps”](#next-steps) * [Customize for your organization](/agent/custom-instructions/): save your voice and terminology so every future session matches them. * [Prevent documentation drift](/agent/prevent-documentation-drift/): catch pages that fall out of date as your code changes. * [Tutorial: document a code change](/agent/tutorial-document-a-code-change/): keep the set you created in sync with your code. * [Integrations](/agent/integrations/): pull context from Slack, Notion, Linear, Jira, and Confluence into your prompts. # Update and review documentation > Keep documentation in sync with code changes and get AI feedback on existing content. Ask the Docs Agent to update documentation that exists but needs changes, or to review it and give feedback without changing it. ## Update from tickets [Section titled “Update from tickets”](#update-from-tickets) When a feature ships or a bug is fixed, update documentation by referencing the ticket. The agent reads the ticket details and identifies which docs need changes. **Works with:** Linear, Jira * Basic update ```text Update the documentation based on Linear ticket ENG-1234. ``` * With context ```text ENG-1234 added rate limiting to the API. Update the API reference with the new rate limit headers and error responses. ``` * Multiple tickets ```text Update the authentication docs based on ENG-1234, ENG-1235, and ENG-1236. ``` ## Update from code changes [Section titled “Update from code changes”](#update-from-code-changes) Point the agent to code changes and it updates relevant documentation. ```text The login flow changed in the last commit. Update the authentication guide to reflect the new OAuth implementation in src/auth/. ``` ```text We deprecated the /api/v1/users endpoint. Update the API reference to mark it as deprecated and point to the v2 replacement. ``` ## Update specific sections [Section titled “Update specific sections”](#update-specific-sections) Target specific parts of a document instead of regenerating everything. ```text Update only the "Configuration" section in docs/getting-started.md with the new environment variables from .env.example. ``` ```text Add a "Troubleshooting" section to the deployment guide covering the three most common issues from our support tickets. ``` ## Review documentation [Section titled “Review documentation”](#review-documentation) Get AI feedback on existing documentation without making changes. The agent analyzes your content and provides suggestions. ### What the agent checks [Section titled “What the agent checks”](#what-the-agent-checks) | Aspect | What it looks for | | ---------------- | ------------------------------------------------------------ | | **Clarity** | Can a reader follow the instructions? Is the language clear? | | **Completeness** | Are steps missing? Are edge cases covered? | | **Accuracy** | Does the documentation match the current code? | | **Consistency** | Does terminology match other docs? Is formatting consistent? | ### Example prompts [Section titled “Example prompts”](#example-prompts) ```text Review the getting started guide and suggest improvements for clarity and completeness. ``` ```text Review the API reference for the authentication endpoints. Check if the examples still work with the current code. ``` ```text Review docs/deployment.md from the perspective of a developer who has never deployed this application before. ``` ### Applying suggestions [Section titled “Applying suggestions”](#applying-suggestions) ![Docs Agent review checkpoint listing completeness, technical accuracy, and style compliance feedback in the chat panel](/assets/images/docs-agent-review-checkpoint.png) The agent provides feedback in the chat panel. You can: 1. Apply suggestions you agree with by asking the agent to make the change 2. Edit directly in the editor panel 3. Iterate by asking for more specific feedback ## Verify before publishing [Section titled “Verify before publishing”](#verify-before-publishing) ### View changes [Section titled “View changes”](#view-changes) Enable **View All Changes** in the toolbar to see a diff of all modifications. Review each change before creating a pull request. Look for: * Unintended deletions. * Formatting issues. * Content that needs adjustment. ### Link checks [Section titled “Link checks”](#link-checks) Before it finishes, the agent checks that the internal links in its drafts point to pages and headings that exist. Check links to external sites yourself before you raise the pull request. ### Create a pull request [Section titled “Create a pull request”](#create-a-pull-request) When satisfied with the changes: 1. Click **Raise PR** in the toolbar. The button prefills a prompt in the chat panel: `Open a pull request`, or, when you raise one for a single repository in a session with several, `Open a pull request for docs-site` with that repository’s name. 2. Edit the prompt if you want to add instructions, then press **Enter** to send it. 3. The agent creates the pull request and responds in the chat with a link to the PR. If your session spans multiple repositories, the toolbar shows a **Linked PRs** menu in place of the **Raise PR** button. Its button reads **PRs (N)**, or how many repositories need action. Open it and click **Raise PR** next to the repository you want. ### Update an existing pull request [Section titled “Update an existing pull request”](#update-an-existing-pull-request) After a PR is open, you can push more changes to it: 1. Make further edits in the editor or ask the agent for more changes in the chat. 2. Click **Update PR** in the toolbar when new changes are ready. The agent prefills a prompt like `Update pull request #42 with my latest changes`. 3. Edit the prompt if needed, then press **Enter**. 4. The agent commits and pushes your changes to the existing PR branch. ## Next steps [Section titled “Next steps”](#next-steps) * [Create documentation](/agent/create): generate READMEs, API references, and guides from your codebase. * [Automations](/agent/scheduled-agents): automate recurring doc tasks such as drift reviews and screenshot refreshes. * [Integrations](/agent/integrations): connect Slack, Notion, Linear, Jira, and other tools. * [Set up automated review](/reviewer/quickstart): run EkLine Docs Reviewer in your CI/CD pipeline to catch issues before they merge. # Visual style guidelines > Set the brand colors and look that EkLine's agents use when they draw hero images, social cards, diagrams and section illustrations. Visual style guidelines tell EkLine’s agents which colors and look to use when they draw an image for your docs or content. ## Before you begin [Section titled “Before you begin”](#before-you-begin) * You set visual style guidelines in Company Profile. Any member of your organization can edit it. See [Company Profile and Domains](/agent/company-profile/). * Your first AI report drafts them from your website. See [What onboarding fills in](/agent/company-profile/#what-onboarding-fills-in). * **Refresh from website**, under the field, drafts them again from the website saved under **Your sites**. See [Refresh Visual Style Guidelines from your website](/agent/company-profile/#refresh-visual-style-guidelines-from-your-website). * The Marketing Agent always uses them. The Docs Agent uses them only when company context is on for your organization. To check or change this, contact ****. ## Where they are used [Section titled “Where they are used”](#where-they-are-used) Both agents draw each image as shapes, text and diagrams, then save it as a PNG file. They never produce photographs. | Agent | When it draws an image | | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Marketing Agent | For a blog post, a cover and an inline diagram; for a LinkedIn post, one image when it strengthens the post; for a newsletter, section images when a section is clearer with one. At most three images per draft. You can ask for a different image, a change, or none. | | Docs Agent | When a page needs a picture that is not a Mermaid diagram, such as an illustration, or a diagram on a site that does not render Mermaid. | The agents take your colors and style notes from the **Visual Style Guidelines** field and nowhere else. With the field empty, or with no colors in it, images use a neutral palette. ## What to write [Section titled “What to write”](#what-to-write) Write two parts: your colors, then a few sentences about the look. **Colors.** Put each color on its own line, with a role and a hex value such as `#2563eb` (a CSS color name such as `navy` also works). The Docs Agent fills five color roles from these labels: | Label you write | What it colors | | ------------------------------ | -------------------------------------------------------------------------------------- | | `Primary`, `Brand` or `Accent` | The accent: one focal element, one emphasized line, badges and arrowheads | | `Secondary` | The accent when there is no `Primary`, `Brand` or `Accent` color; otherwise a fallback | | `Dark` | The background of a dark image; boxes and strokes on a light one | | `Background` | The background of a light image | | `Light` | Text on a dark image; card fills on a light one | | `Text` or `Ink` | Body text on a light image | If two colors would be hard to read together, the agent swaps one for another color from your list or a neutral one. **Style notes.** In plain sentences, describe the look: which shapes and motifs, how busy or empty, line weight, rounded or square corners, flat fills or a soft glow, and whether to use gradients. A Docs Agent image never follows a note that asks for a named font, a logo or other file, photographs, people, or faces, or a color outside the five roles. It also can’t include logos, uploaded images, or named fonts. A Marketing Agent image draws your logo and the fonts a DESIGN.md guide names, but never uploaded images, photographs, or people. The Marketing Agent tells you in chat which notes an image does not follow, and why. ### Example [Section titled “Example”](#example) Acme, a developer tool company with a blue brand, might write: ```text Primary: #2563eb Dark: #0f172a Background: #f8fafc Text: #1e293b Flat, geometric illustrations with generous whitespace. Rounded corners and thin lines. No gradients. ``` ### A DESIGN.md guide [Section titled “A DESIGN.md guide”](#a-designmd-guide) The field can also hold a design guide in DESIGN.md format, which is what onboarding and **Refresh from website** write from your website. You can edit it or paste your own. Give each color one of the roles in [What to write](#what-to-write). The Marketing Agent reads your colors, fonts, and logo best from this format. From color lines, it takes one brand color, your `Accent`, `Primary`, or `Brand` color, and uses neutral colors for the rest. Its logo comes from the guide’s **Logo** section, or else from your organization’s logo in **Settings**. ## Steps [Section titled “Steps”](#steps) 1. Go to **Settings** > **Organization** > **Company Profile**. 2. Find the **Visual Style Guidelines** field, near the end of the form. 3. Write your colors, one per line with a role, then your style notes, or paste a DESIGN.md guide. To draft a guide from your website instead, select **Refresh from website** under the field, check the preview, and choose **Replace guide**. The field holds up to 10,000 characters. 4. The field saves when you stop typing or move to another field, and **Saved** appears under it. The change applies to images drawn in sessions started after you save. ## Check it worked [Section titled “Check it worked”](#check-it-worked) 1. Start a new Marketing Agent session and ask for a short blog post with a cover image. 2. Open the image in the draft and check that it uses your colors and style. 3. Read the agent’s summary in chat. It lists any style note the image does not follow. ## Troubleshooting [Section titled “Troubleshooting”](#troubleshooting) ### Images use neutral colors instead of yours [Section titled “Images use neutral colors instead of yours”](#images-use-neutral-colors-instead-of-yours) * Put each color on its own line, with a role label and a hex value, as in the [example](#example). * If your guide has no colors, select **Refresh from website** under the field to read them from your site, or add them yourself. * Start a new session after you save. A session that was already open keeps the guidelines it started with. * The Docs Agent uses them only when company context is on for your organization. See [Before you begin](#before-you-begin). ### The Visual Style Guidelines field isn’t there [Section titled “The Visual Style Guidelines field isn’t there”](#the-visual-style-guidelines-field-isnt-there) The field is part of Company Profile. If you don’t see **Settings** > **Organization** > **Company Profile**, contact **** with your organization name. ## Next [Section titled “Next”](#next) * [Company Profile and Domains](/agent/company-profile/): Fill in the rest of your company’s profile. * [Custom instructions](/agent/custom-instructions/): Add standing instructions for one agent. # Instructions, notes, skills, memory and rules: which to use > Compare every setting that gives EkLine's agents context: where it lives, which agent reads it, and when to use it. EkLine has several places to tell its agents about your company and how to work, and a few settings with similar names that do different jobs. A change to a setting the agents read applies to sessions started after you save it. A session that is already open keeps what it started with. ## Every setting at a glance [Section titled “Every setting at a glance”](#every-setting-at-a-glance) | Setting | Where it lives | What it is for | Who reads it | Use it when | | -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- | | [Custom instructions](/agent/custom-instructions/) (Docs Agent) | **Settings** > **Docs Agent** > **Custom instructions** | How to write docs: spelling, terms, structure, audience. Up to 20,000 characters. | Docs Agent only | Every docs session should follow a convention. | | [Custom instructions](/agent/custom-instructions/) (Marketing Agent) | **Settings** > **Marketing Agent** > **Custom instructions** | How to write posts: voice, person, how posts open and close. Up to 20,000 characters. | Marketing Agent only | A convention is for posts, not docs. | | [Company Profile](/agent/company-profile/) | **Settings** > **Organization** > **Company Profile** | Facts about your company: product, website, brand names, documentation sites, audiences, personas, competitors, tone and voice. | Marketing Agent always. Docs Agent when company context is on for your organization. | Both agents should know who you are and who you write for. | | Visual Style Guidelines | The **Visual Style Guidelines** field in **Company Profile** | Colors and style notes for the images the agents draw. | Both agents, when they create an image (the Docs Agent only when it reads Company Profile) | Images should match your brand. | | [Reference documents](/agent/reference-documents/) | **Settings** > **Organization** > **Knowledge Base** | Files the agents read for facts, such as briefs and glossaries. Up to 3 MB each. | Both agents, when reference documents are on for your organization | The facts are in a document, not in your code. | | [Repository notes](/agent/reference-documents/) | **Settings** > **Integrations** > **GitHub Integration** or **GitLab Integration**, on each saved repository | What one repository is, read as a description, not an instruction. Up to 5,000 characters. | Both agents | An agent needs to know what a repository holds. | | [Skills](/agent/custom-skills/) | **Settings** > **Docs Agent** > **Skills** | A workflow you run with its slash command, or that the agent uses when a task matches. | Both agents, though the settings page names only the Docs Agent | You repeat the same multi-step task. | | Rules | **Settings** > **Docs Agent** > **Rules** | Standing rules, each **General** (always in force) or **Review** (applied before a docs pull request is opened or updated), optionally for some files only. | Both agents, though the settings page names only the Docs Agent | A requirement must always hold. | | Organization memory | Nowhere in the app | Notes the agents keep for themselves while they work, shared by every session in your organization. No page shows it. | Both agents | You do not set it. For a standing rule, use custom instructions or Rules. | | Reviewer Rules | **Settings** > **Docs Agent** > **Reviewer Rules** | Turns the Docs Reviewer’s built-in style checks on or off. | The [Docs Reviewer](/reviewer/overview/). The agents don’t read it. | You want the Docs Reviewer to check more or less. | | Terminology | **Settings** > **Organization** > **Terminology** | Terms to avoid, each with the term to use instead. | The [Docs Reviewer](/reviewer/overview/). The agents don’t read it. | Reviews should flag a term. | | Dictionary | **Settings** > **Organization** > **Dictionary** | Words the Docs Reviewer’s spell check accepts. | The [Docs Reviewer](/reviewer/configuration/dictionary/). The agents don’t read it. | Reviews flag your product names as misspelled. | | [Automations](/agent/scheduled-agents/) | **Automations** in the sidebar | A prompt and a schedule. Each run starts a Docs Agent session with that agent’s usual context. It is not context itself. | Starts Docs Agent sessions only | A task should run on a schedule. | | [Review rules](/agent/review-rules/) | **Settings** > **Integrations** > **GitHub Integration** or **GitLab Integration**, the **Review rules** icon on a repository | Which pull requests automatic PR review looks at, by branch, author, title, label or file. | Automatic PR review | EkLine should skip some pull requests. | If a tab is missing from your settings, or you want company context or reference documents on, contact . ### Three settings called rules [Section titled “Three settings called rules”](#three-settings-called-rules) * **Rules** tell the agents what to do. A rule of type **Review** applies before a docs pull request is opened or updated. * **Review rules** choose which pull requests [automatic PR review](/agent/automatic-pr-review/) looks at. * **Reviewer Rules** turn the Docs Reviewer’s style checks on and off. The agents don’t read them. ## Examples [Section titled “Examples”](#examples) **Acme wants every docs draft to say “sign in”, never “log in”.** Add the instruction to the Docs Agent’s custom instructions. To have the Docs Reviewer flag “log in” in pull requests too, add it to **Terminology**. **Acme wants both agents to know that its main competitor is Hooli.** Add Hooli under **Competitors** in Company Profile. **Every pull request to Acme’s documentation that touches the API reference must update the changelog.** Add a rule of type **Review**, with `docs/api/**` in **Applies to (optional)**. When the agent can’t meet a rule, it says so in the pull request body. **Acme drafts release notes the same way for every version.** Write the steps once as a skill named `Release notes checklist`, and run it by typing `/release-notes-checklist`. ## FAQ [Section titled “FAQ”](#faq) ### Where do I see the contents of a skill? [Section titled “Where do I see the contents of a skill?”](#where-do-i-see-the-contents-of-a-skill) In **Settings** > **Docs Agent** > **Skills**. The list shows each skill’s name, command and **When to use it** text. Click a skill’s edit icon to see its instructions. The editor has no list of skills. ### Do Rules and Skills apply to the Marketing Agent? [Section titled “Do Rules and Skills apply to the Marketing Agent?”](#do-rules-and-skills-apply-to-the-marketing-agent) Yes. Both agents use them in every new session, even though their settings pages name only the Docs Agent. A rule of type **Review** comes into play when an agent opens or updates a docs pull request. ### Do the agents use my Terminology list and Dictionary? [Section titled “Do the agents use my Terminology list and Dictionary?”](#do-the-agents-use-my-terminology-list-and-dictionary) No. Both configure the Docs Reviewer. To make an agent use or avoid a term, put it in that agent’s custom instructions or in a rule. # EkLine changelog > Stay up to date with the latest improvements and new features across EkLine products. What’s new in EkLine, newest month first. Within each month, changes are grouped by product area, and each area lists new features first, then bug fixes. Integrations covers connecting GitHub, GitLab, Slack, Discord and other tools, and using the Docs Agent from them, including automatic PR review. Older entries call automations scheduled agents, their name at the time. *** ## November 2026 [Section titled “November 2026”](#november-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent) **One page to start a session**: **New session** opens one page in a single click, with starters such as **Create a changelog** and **Draft a how-to guide** that fill in the composer for you to finish. When your organization has both agents, switch between **Docs** and **Marketing** in the composer without losing what you typed. [Ship your first docs pull request](/agent/getting-started) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes) * Fixed the alert that explains why a session could not start, such as a request to install the GitHub App, appearing off screen or behind the chat. It now shows in the chat, right after the reply that failed. ### Marketing Agent [Section titled “Marketing Agent”](#marketing-agent) **Any marketing task, starting from the goal**: The Marketing Agent works out what a request is for, who it is aimed at, and where it will be published, and asks only when the answer changes the work. Besides blog posts, LinkedIn posts, and newsletters, it now drafts web pages, positioning, battlecards, launch plans, marketing plans, emails, scripts, decks, and press releases. [Marketing Agent](/marketing-agent/) **Outreach lists for roundups and directories**: Ask the Marketing Agent to get your company named in the roundups, review sites, and directories that AI assistants cite. It returns a ranked list of pages, each with a contact the publisher lists publicly, a short pitch, and an entry to paste. It sends nothing for you. ### Automations [Section titled “Automations”](#automations) **Automations for the Marketing Agent**: When you create a custom automation, choose whether it runs as the Docs Agent or the Marketing Agent. Release Marketing Brief now runs as the Marketing Agent, in its own Marketing tab. An automation you turned on from Release Marketing Brief before this change keeps running as the Docs Agent and is listed under Custom; turn it off before turning on the new one, or you get two briefs a week. [Automations](/agent/scheduled-agents) **See why a run was skipped**: A skipped run shows the reason under its start time in the Runs tab, instead of a fixed out-of-credits label. **Runs build on earlier runs**: Before an automation run picks what to work on, it checks what the automation’s earlier runs did and picks something else when they already finished that work or have it open for review, instead of repeating it. [How a run builds on earlier runs](/agent/scheduled-agents#how-a-run-builds-on-earlier-runs) **A readable start to every run**: Each run’s session now opens with the automation’s name, its inputs as a list, and what it does when it finishes, instead of the full instructions the agent receives. ### Docs Reviewer [Section titled “Docs Reviewer”](#docs-reviewer) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-1) * Fixed Docs Reviewer AI suggestions that, for some organizations, stopped appearing from mid-October with no error shown. Suggestions appear again. ### Integrations [Section titled “Integrations”](#integrations) **Connect your AI tool in one step**: Under **Settings** > **Integrations** > **AI tools**, click **Connect** on Claude Code, Cursor, VS Code, Claude, or Codex. EkLine creates an API key for that tool, shows how to add EkLine to it, and confirms when the tool first connects. **Disconnect** revokes the keys made for that tool. [MCP clients](/agent/mcp) ### Workspace [Section titled “Workspace”](#workspace) **Finish setting up**: A card in the sidebar lists the setup steps your organization has left, and its button takes you to the next one. Close it with the **X**; while steps remain, **Finish setup** in the account menu brings it back. **Integrations in the account menu**: **Integrations** now sits above **Settings** in the account menu, so you can reach your integrations in one click. **Sign in with GitHub**: Sign up and sign in with your GitHub account, alongside Google and email. If your email address already has an EkLine account, EkLine asks you to sign in the way you did before, then connects GitHub to that account. [Connect GitHub sign-in to an existing account](/workspace/troubleshooting#signing-in-with-github-asks-you-to-connect-github) **Contact support from the account menu**: Click **Support** in the account menu at the bottom of the sidebar to chat with the EkLine team. The chat bubble no longer covers app pages, and appears only while the chat is open or a reply is waiting for you. ### MCP server [Section titled “MCP server”](#mcp-server) **Read a whole session from your MCP client**: Ask your MCP client for a Docs Agent session’s full details: what it was asked, where it started, the pull requests it opened, and its conversation. [Read a session in full](/agent/mcp#read-a-session-in-full) ## October 2026 [Section titled “October 2026”](#october-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-1) **Attach a passage from the editor to your chat**: Select any text in the editor and it rides along with your next message, so the agent works on exactly the part you mean. This now works in the change-review view as well, and the passage stays attached if you queue the message while the agent is still replying. **See which lines changed at a glance**: A marker rail beside the editor highlights the lines the agent added or changed, so you can jump straight to each edit as you review. **Line wrapping in the editor**: Long lines now wrap to fit the editor width instead of scrolling off to the side. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-2) * Fixed the Docs Agent session list reloading every time you moved between pages, so it now stays loaded as you navigate the app. * Fixed `.gitkeep` placeholder files appearing in a session’s list of new and changed files. ### Automations [Section titled “Automations”](#automations-1) **Scheduled agents are now Automations**: Each built-in automation has its own card with an on/off toggle, grouped into tabs by what it does, so you can turn one on with its default settings in one click. Edit an automation or check its runs in a side panel without leaving the page. [Automations](/agent/scheduled-agents) ### Integrations [Section titled “Integrations”](#integrations-1) **A simpler way to connect GitHub and GitLab**: Connecting a repository host now takes you straight to choosing your repositories, each repository list shows whether EkLine writes to it or only reads it, and your selection saves as you make it. [Connect an integration](/agent/integrations) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-3) * Fixed the Docs Agent’s answer to a mention in a GitHub pull request comment sometimes never appearing, leaving only the acknowledgment reply. The agent now posts its answer when it finishes, in the same review thread when you commented on code lines, and links to the docs pull request if it opened or updated one. * Fixed the Docs Agent failing to open merge requests on GitLab, so documentation changes for GitLab repositories reach a merge request again. * Fixed the Docs Agent Slack bot asking you to try again after 10 minutes while the agent was still working, so long requests now get their reply in the thread. * Fixed a second message in a Docs Agent Slack thread starting another run alongside the one already in progress. The new message now waits for the current reply to finish, then gets its own answer. ### Workspace [Section titled “Workspace”](#workspace-1) **A redesigned EkLine app**: One sidebar now holds session search, **New session**, your pages, your recent sessions, and **Settings**, and you can collapse it to a column of icons when you need more room. The dashboard has a new look, and your account card at the bottom of the sidebar opens a menu where you switch organizations, with a search box when you belong to many. **Settings in one place**: Settings groups its pages under tabs at the top, with each group’s pages listed beside the content. The Docs Reviewer rules, terminology, and dictionary pages now open inside Settings. **Credit badge reads “Powered by EkLine”**: The credit you embed on your documentation site now reads “Powered by EkLine” instead of “Maintained by EkLine”. Sites that already embed it update automatically, so you don’t need to change anything. [Embed the badge](/credit) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-4) * Fixed EkLine pages showing a “We’re having trouble loading this page” error when a browser extension or network filter blocked analytics. ### MCP server [Section titled “MCP server”](#mcp-server-1) **Start a session from your MCP client**: Connect Claude Code, Cursor, or another MCP client to EkLine with a personal API key, then start and monitor Docs Agent sessions without leaving your editor. [Connect an MCP client](/agent/mcp) **Find sessions and search the docs from your MCP client**: From a connected MCP client, list and filter your Docs Agent sessions, jump to the sessions related to a pull request or ticket, and search the EkLine documentation without leaving your editor. [Connect an MCP client](/agent/mcp) **Redirect a running session from your MCP client**: Send a follow-up message to a Docs Agent session that is already running, to add a requirement or hand it a reference you left out, without leaving your editor. [Connect an MCP client](/agent/mcp) *** ## September 2026 [Section titled “September 2026”](#september-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-2) **Reach your Docs Agent sessions from anywhere**: Your session list now lives in the app sidebar. You can open a recent session from any page instead of only from the Docs Agent page. **Filter your Docs Agent sessions**: The sessions list replaces its source chips with a filter menu, so you can switch between quick views, filter by one or more sources, and hide sessions you have finished with. [Find a past session](/agent/find-sessions) **Faster session pages**: Docs Agent session pages open right away instead of waiting for the pull request list to load first. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-5) * Fixed internal configuration file paths appearing in Docs Agent activity, chat replies, and Slack messages. * Fixed the Docs Agent editor chat pulling you back to the newest message while a reply was streaming, so you can scroll up to re-read an earlier part of a response without being dragged to the bottom. * Fixed Docs Agent session recordings not playing back in Chrome. * Fixed the Docs Agent sessions list going blank when a single session could not be loaded. ### Automations [Section titled “Automations”](#automations-2) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-6) * Fixed scheduled agents not running on their configured schedule. * Fixed the scheduled agents list showing no agents when it could not load, instead of reporting the error. ### Integrations [Section titled “Integrations”](#integrations-2) **Connect Docs Agent to Discord**: Mention the EkLine bot in a Discord thread to get a Docs Agent reply in that same thread. Connect your Discord server under **Settings > Integrations**. **Continue a Docs Agent session from its Slack messages**: When you reply to a message the bot posted itself, such as a scheduled release brief or a drift review, Docs Agent continues the same session that wrote it instead of starting a new one. [Docs Agent Slack bot](/agent/slack-bot) *** ## August 2026 [Section titled “August 2026”](#august-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-3) **Search your Docs Agent sessions** — Press `Cmd/Ctrl+K` in the sessions sidebar to find recent sessions by their conversation content, or paste a pull request, merge request, Jira, or session URL to jump straight to the related sessions. **Insert a video frame into your documentation** — Docs Agent captures a chosen moment from an uploaded video or a recording of its own browsing as an image, commits it to your repository, and inserts the reference into the page you’re writing. [Capture screenshots from a video](/agent/screenshots-from-video) **Auto-save for Confluence knowledge-base management** — The Confluence knowledge-base management form saves your changes as you make them and shows a Saving/Saved indicator, so there’s no Save button to remember. [Manage a knowledge base](/agent/manage-knowledge-base) **Manage screenshots in a Confluence knowledge base** — Docs Agent now adds, replaces, and removes screenshots on the Confluence pages it manages, and displays those images inline in the editor as you work. [Manage a knowledge base](/agent/manage-knowledge-base) **See how many documentation pull requests get merged** — The dashboard’s **Closed** tab is now **Merged** and shows how many of your finished documentation pull requests were merged rather than closed, across all time. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-7) * Fixed the Docs Agent editor chat preventing you from selecting or copying text in agent replies, including while a response was streaming. * Fixed the dashboard’s total for finished documentation pull requests shrinking over time, which happened because it counted only pull requests opened in the last 90 days. ### Automations [Section titled “Automations”](#automations-3) **Catch drift in your Confluence knowledge base** — A new scheduled-agent template finds Confluence knowledge-base pages that recent documentation changes left outdated, then drafts corrections for you to review and publish. [Configure scheduled agents](/agent/scheduled-agents) ### Integrations [Section titled “Integrations”](#integrations-3) **Open a Docs Agent session from any Slack reply** — Every reply the bot posts in a thread now ends with a **See the full chat** link. You can reach the session from the turn you’re reading instead of scrolling back to the first response. [Docs Agent Slack bot](/agent/slack-bot) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-8) * Fixed the GitLab integration automatically reviewing merge requests in projects you had not selected for review. *** ## July 2026 [Section titled “July 2026”](#july-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-4) **Find any past session by link or content** — Search your whole organization’s session history from the editor sidebar. Paste a GitHub PR, GitLab MR, Jira ticket, or session link to jump to related sessions, or type to search session titles, your messages, and the agent’s replies. [Find a past session](/agent/find-sessions) **Watch the agent browse in real time** — When Docs Agent browses your site to capture screenshots or verify content, you can now watch its browser live in the editor. You can also replay the session afterward. **Faster documentation PR dashboard** — The dashboard now renders immediately from saved data. It then loads live pull request details in the background, removing the multi-second delay when you open it on larger accounts. **More complete PR tracking** — The dashboard now includes documentation pull requests recovered automatically even when they have no linked session. It also filters out unrelated automated pull requests such as dependency updates, so the list shows only EkLine’s documentation work. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-9) * Fixed an infinite redirect loop that could stop the editor session page from loading. * Fixed the editor preview crashing in some sessions. * Fixed the editor hiding the Code and Preview toggle and the View All Changes switch while you review changes. * Fixed Docs Agent stopping partway through longer tasks and needing a follow-up message to finish. * Fixed an internal storage path appearing in Docs Agent activity and the editor path when managing a Confluence knowledge base. ### Automations [Section titled “Automations”](#automations-4) **Keep documentation screenshots up to date automatically** — Docs Agent recaptures the screenshots in your documentation from your live product on a schedule you set, so images don’t drift out of date. [Keep documentation screenshots up to date](/agent/refresh-doc-screenshots) **Turn Pylon tickets into help-center articles** — Docs Agent reviews recent Pylon support tickets for questions your knowledge base should answer, then drafts the missing or corrected articles for your review. [Configure scheduled agents](/agent/scheduled-agents) **Flexible schedules for scheduled agents** — Set scheduled agents to repeat on interval-based cadences such as every other day, twice a week, or every two weeks. Select multiple weekdays for a single agent, and rely on timezone-aware run times that hold through daylight saving changes. The schedule picker previews your next five runs, and you can run an agent immediately or skip its next run. [Configure scheduled agents](/agent/scheduled-agents) ### Integrations [Section titled “Integrations”](#integrations-4) **Docs Agent for GitLab documentation repositories** — Docs Agent now works with documentation repositories hosted on GitLab, matching the GitHub flow: it clones your docs repository, opens and updates merge requests from the editor, and tracks them on the dashboard. [Connect GitLab](/agent/gitlab-setup) **Follow-up messages in Slack threads** — The @EkLine Slack bot now accepts follow-up messages you send while it is still working in a thread, running them in order instead of rejecting them. [Set up the Slack bot](/agent/slack-bot) **Per-repository review rules for GitLab** — Control which merge requests trigger automatic reviews on a per-repository basis for GitLab, matching the existing GitHub controls. Set target branch filters, ignore patterns, author lists, and file filters in **Settings > Integrations > GitLab Integration** (select a repository to configure its review rules). #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-10) * Fixed an issue where Docs Agent created informational comments on a GitLab merge request as resolvable threads, which could block the merge button on projects that require all threads to be resolved. * Fixed Docs Agent not opening a documentation pull request from some sessions triggered by a pull request or merge request, even when your organization has automatic documentation PRs enabled. * The @EkLine Slack bot now responds only when you mention it directly, so it no longer replies to other messages in a thread it has joined. * Fixed the GitHub integration automatically reviewing pull requests in repositories you had not selected for review. ### Workspace [Section titled “Workspace”](#workspace-2) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-11) * Fixed dialogs continuing to intercept clicks after you closed them, which could leave the app unresponsive until you refreshed the page. *** ## June 2026 [Section titled “June 2026”](#june-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-5) **View PR for merged pull requests** — When a documentation pull request is already merged and has no new changes, the editor shows a **View PR** button instead of prompting you to raise a duplicate. **Attach up to 20 files per message** — The chat panel now accepts up to 20 attachments per message and warns you when files exceed the limit instead of dropping them silently. [Supported file types](/agent/reference#supported-file-types) **90-day session history** — Resume Docs Agent sessions for up to 90 days, up from 30. [Learn more](/agent/reference/#session-history) ### Docs Reviewer [Section titled “Docs Reviewer”](#docs-reviewer-1) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-12) * Fixed the Docs Reviewer flagging the `https` scheme inside a URL in document frontmatter as a spelling issue. * Fixed the Docs Reviewer flagging keys inside document frontmatter when the file started with a byte order mark (BOM). ### Integrations [Section titled “Integrations”](#integrations-5) **Typo-tolerant @EkLine mentions** — Docs Agent now responds to `@EkLine` mentions in GitHub and GitLab comments even when someone misspells or formats the handle incorrectly, so a typo no longer results in a silent no-op. **Automatic merge requests on GitLab** — When Docs Agent flags a GitLab merge request as high-confidence for documentation changes, it now opens a documentation merge request automatically, matching the existing GitHub pull request flow. [Learn more](/agent/automatic-pr-review) **Live progress in Slack** — The @EkLine Slack bot shows a live status indicator while it works on your request, so you can see it is making progress before the response arrives. [Set up the Slack bot](/agent/slack-bot) **Slack thread responses** — The @EkLine Slack bot streams live progress in a single self-updating message, posts Docs Agent’s own reply with an expandable diff, and adds a **View EkLine chat** button on the first response. Follow-up mentions in that thread continue the same session, so the agent keeps context across messages. [Set up the Slack bot](/agent/slack-bot) **Session reuse on PR comments** — Replying to a pull request comment Docs Agent created continues the existing session instead of starting a new one. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-13) * Fixed Docs Agent posting duplicate comments on a GitLab merge request, where a medium-confidence review note could trigger itself. * Fixed Docs Agent occasionally showing a raw JSON object instead of a readable summary when assessing whether a pull request needs documentation. * Only authorized project members can now trigger Docs Agent from GitLab merge request comments. *** ## May 2026 [Section titled “May 2026”](#may-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-6) **Organization memory** — Docs Agent remembers context about your repositories and conventions across sessions, so your whole team benefits from shared knowledge. **Style review before PR creation** — Docs Agent runs a documentation style check before creating pull requests, catching formatting and tone issues before human review. **Mark session as done** — Mark completed sessions from the sidebar menu to keep your workspace tidy. The sidebar hides done sessions by default, and you can toggle them back into view. **Agentic PR workflow** — Click **Raise PR** or **Update PR** in the editor, and Docs Agent handles the entire process through the chat. It writes meaningful commit messages and detects existing PRs before creating duplicates. **Real-time PR status** — Track documentation PR state — open, merged, or closed — directly in the editor toolbar with live webhook-driven updates from GitHub and GitLab. **Session links in PRs** — Documentation PRs created by Docs Agent include a link back to the editor session that generated them, so reviewers can see the full context. **Automatic diff view** — Sessions open with the diff view enabled by default when documentation changes exist, so you see proposed edits immediately. **Smarter session titles** — Sessions initiated from Slack and other triggers now generate descriptive titles instead of showing the raw first message. **Chat-driven pull requests** — Creating and updating documentation pull requests now happens through the chat panel. Click **Raise PR** or **Update PR** and the agent prefills a prompt you can edit before sending, giving you more control over commit messages and PR descriptions. [Learn more](/agent/update-review#create-a-pull-request) **Dashboard PR tracking** — Documentation PRs created by Docs Agent appear on the dashboard with reviewer assignments, diff stats, and review state, so you track docs work alongside code changes. **Session initiator badges** — Sessions in the sidebar show who started them, with name badges for Slack-triggered sessions and source labels for GitHub-triggered ones. **Expanded file upload support** — Upload code files, data files, and configuration files alongside documents and images in the chat panel. The agent now accepts 67 file types including `.json`, `.yaml`, `.py`, `.ts`, `.go`, `.rs`, and more. [Supported file types](/agent/reference#supported-file-types) ### Automations [Section titled “Automations”](#automations-5) **Pylon support review template** — A new scheduled agent template that reviews Pylon support tickets to identify documentation opportunities. [Configure scheduled agents](/agent/scheduled-agents) ### Integrations [Section titled “Integrations”](#integrations-6) **GitLab automatic MR review** — Docs Agent monitors your GitLab merge requests and detects when documentation needs updating, matching the existing GitHub PR review feature. [Learn more](/agent/automatic-pr-review) **HubSpot integration** — Connect HubSpot from the integrations page to give Docs Agent access to your customer-facing content. [Set up integrations](/agent/integrations) **Improved GitLab @mentions** — @mentioning Docs Agent in GitLab merge requests now supports reactions and editor replies, matching the GitHub experience. **PR analysis confidence** — GitHub-triggered sessions now show a colored confidence badge in the sidebar indicating how likely a PR requires documentation changes. **Automatic PRs from Slack** — Slack-triggered sessions now create documentation pull requests automatically, so you get a ready-to-review PR without switching to the editor. Disable per-organization in **Settings > Docs Agent**. [Set up the Slack bot](/agent/slack-bot) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-14) * Fixed GitHub repository deletions not persisting when saving integration settings. ### Workspace [Section titled “Workspace”](#workspace-3) **Credit badge** — Embed a “Maintained by EkLine” credit on your documentation site using a lightweight web component or static SVG badge. Supports automatic light and dark theme switching and works with all major documentation frameworks. [Embed the badge](/credit) #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-15) * Fixed a brief “feature not available” flash when loading pages with feature flags. * Fixed search modal disappearing when navigating between pages on the documentation site. * Fixed blank onboarding page when the sign-up link did not include an email parameter. *** ## April 2026 [Section titled “April 2026”](#april-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-7) **Custom instructions** — Give Docs Agent context about your repositories, documentation structure, and company conventions in **Settings > Docs Agent**. **Session rename** — Rename sessions directly from the sidebar by double-clicking the title or clicking the edit icon. **Stop and queue messages** — Stop the agent mid-response and queue follow-up messages while it works, so you stay in control of the conversation. **Session time groups** — The sidebar groups sessions by Today, Yesterday, Previous 7 Days, and Previous 30 Days for faster navigation. **Session source filter** — Filter the sessions sidebar by source — EkLine editor, GitHub, Slack, or Scheduled — to find conversations faster. **PR reviewer settings** — Configure default reviewers and auto-assign behavior for documentation PRs in **Settings > Docs Agent**. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-16) * Fixed file uploads failing when the server returned a redirect. * Fixed clicking inside a session rename input unexpectedly navigating away. ### Automations [Section titled “Automations”](#automations-6) **Customizable scheduled agent templates** — Select from 12 predefined templates when creating scheduled agents, then edit the prompt and toggle actions like raising a PR or sending a Slack notification. [Configure scheduled agents](/agent/scheduled-agents) ### Docs Reviewer [Section titled “Docs Reviewer”](#docs-reviewer-2) **Review on open and save settings** — Control when automatic reviews run in VS Code with the new `ReviewOnOpen` and `ReviewOnSave` settings. Disable either to review only on demand. **AI false-positive filtering** — Toggle AI-based false-positive filtering in VS Code with the `AiFalsePositiveFiltering` setting to reduce noise in review results. **AI rules for repo-wide scans** — Control whether AI-powered rules run during full-repository scans in VS Code with the `EnableAiRulesForRepoWideScans` setting. ### Integrations [Section titled “Integrations”](#integrations-7) **GitLab integration** — Connect GitLab to let Docs Agent read merge requests, issues, and repository files when generating or updating documentation. [Set up integrations](/agent/integrations) **Multiple GitHub organizations** — Connect more than one GitHub organization to a single EkLine organization. Manage all connected organizations from the integrations page. **File attachments in Slack** — Attach files directly in Slack when chatting with the @EkLine bot to give the agent more context for documentation tasks. [Set up the Slack bot](/agent/slack-bot) **GitLab MR comments** — @mention Docs Agent directly in GitLab merge request comments for context-aware responses. **Per-repository review rules** — Configure which pull requests trigger automatic reviews on a per-repository basis. Set target branch filters, ignore patterns, author lists, and file filters in **Settings > Integrations > GitHub Integration** (select a repository to configure its review rules). #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-17) * Inaccessible GitHub repositories now show a warning on the integrations page instead of failing silently. *** ## March 2026 [Section titled “March 2026”](#march-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-8) **File attachments in chat** — Attach PDFs, Word documents, spreadsheets, and other files directly in the chat panel to give the agent additional context when generating documentation. [Supported file types](/agent/reference#supported-file-types) **PDF native rendering** — Uploaded PDFs now display as native document blocks in the editor instead of generic attachments. **Screenshot insertion** — Upload screenshots and images, and the agent inserts them directly into your documentation with appropriate markdown references. [Learn more](/agent/create#from-screenshots-and-images) **Faster session startup** — Organizations with large repositories experience up to 2x faster session workspace setup. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-18) * Undo and redo now work correctly in the editor. ### Automations [Section titled “Automations”](#automations-7) **Scheduled agents** — Automate recurring documentation tasks on a cron schedule. Any organization member can create and manage scheduled agents. [Learn more](/agent/scheduled-agents) ### Integrations [Section titled “Integrations”](#integrations-8) **Automatic PR review** — EkLine now monitors your pull requests and automatically detects when documentation needs updating. Depending on confidence, it stays silent, posts a suggestion, or creates a docs PR for you. [Learn more](/agent/automatic-pr-review) **Google Drive integration** — Connect Google Drive to give Docs Agent access to your documentation stored in Drive. [Set up integrations](/agent/integrations) **Smarter PR line comments** — When you @mention Docs Agent on a specific line in a pull request, it now sees the exact line range and diff context for more precise responses. *** ## February 2026 [Section titled “February 2026”](#february-2026) ### Docs Agent [Section titled “Docs Agent”](#docs-agent-9) **Create pull requests from the editor** — Click **Raise PR** in the editor toolbar to create a GitHub pull request directly from your draft. ### Docs Reviewer [Section titled “Docs Reviewer”](#docs-reviewer-3) **AI suggestions in VS Code** — Get AI-powered writing suggestions as you write. #### Bug fixes [Section titled “Bug fixes”](#bug-fixes-19) * Fixed crash when linting large documentation sets in VS Code. * Diagnostics now clear correctly when no issues are found. * Default documentation path changed to workspace root for better compatibility. ### Integrations [Section titled “Integrations”](#integrations-9) **Slack bot** — Create documentation drafts without leaving Slack. @mention `@EkLine` in any channel or thread. [Set up the Slack bot](/agent/slack-bot) **Unified Slack connection** — Connect Slack with a single authorization instead of two. *** Questions or feedback? Contact . # Add the "Powered by EkLine" credit > Embed the EkLine credit on your documentation site. Find the snippet for your framework and paste it. Find your docs framework, copy the snippet, and paste it into your site. You need no account or API key. The credit is a free hosted asset that adapts to your site’s theme. ## Preview [Section titled “Preview”](#preview) The credit comes in two forms. The **web component** inherits your site’s font and color, so it blends in with any theme. The **SVG badge** is a fixed-style image for platforms that strip scripts. ![Powered by EkLine badge on a light background](https://ekline.io/v1/badges/powered-by-ekline.svg) Light background ![Powered by EkLine badge on a dark background](https://ekline.io/v1/badges/powered-by-ekline-dark.svg) Dark background ## Use an AI agent [Section titled “Use an AI agent”](#use-an-ai-agent) If you use an AI coding assistant, paste this prompt to add the credit automatically: ```text Add the "Powered by EkLine" credit to the footer of the documentation site. For framework-specific instructions, fetch https://docs.ekline.io/credit/ Use the web component: load https://ekline.io/v1/credit.js as an async script, then place in the site footer. Detect which docs framework this project uses and follow its conventions for adding a global script and footer element. If the platform strips ``` ## Markdown-only platforms [Section titled “Markdown-only platforms”](#markdown-only-platforms) Platforms that strip `