Get started: What EkLine is and how it works, quickstarts to get your first AI report, ship your first docs pull request and check your docs in CI, the checklist for setting up a workspace, and recipes for jobs done end to end across 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/). # 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. # 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. # Run your first documentation review > Run your first EkLine documentation review in about 3 minutes. Set up GitHub, GitLab, Bitbucket, VS Code, Google Docs, or the CLI and enforce your style guide. Each setup takes about 3 minutes. Most users catch 2-3 issues they didn’t know existed on their first run. ## See EkLine in action [Section titled “See EkLine in action”](#see-ekline-in-action) This short walkthrough shows the experience of using EkLine in your VS Code, Docs, and CI/CD pipelines. [EkLine Onboarding](https://player.vimeo.com/video/1052736895?badge=0\&autopause=0\&player_id=0\&app_id=58479) ## Pick your setup [Section titled “Pick your setup”](#pick-your-setup) GitHub Action Checks run automatically on every PR. Best for teams using GitHub for docs. [Set up GitHub Action →](/reviewer/quickstart/github-action/) GitLab CI Review docs on every merge request. Best for teams using GitLab for docs. [Set up GitLab CI →](/reviewer/integrations/gitlab-integration/) Bitbucket Pipelines Review docs on every pull request. Best for teams using Bitbucket for docs. [Set up Bitbucket Pipelines →](/reviewer/integrations/bitbucket-integration/) VS Code Real-time feedback as you write. Best for writers and individual contributors. [Set up VS Code →](/reviewer/quickstart/vscode/) Google Docs For docs outside your repo. Best for specs, proposals, and wiki pages. [Set up Google Docs →](/reviewer/quickstart/google-docs/) CLI Run checks from the command line. Best for local development and custom CI/CD pipelines. [Set up CLI →](/reviewer/quickstart/cli/) *** ## Not sure which to pick? [Section titled “Not sure which to pick?”](#not-sure-which-to-pick) | Where do your docs live? | Use this | | --------------------------------- | -------------------------------------------------------------------- | | GitHub repo | [GitHub Action](/reviewer/quickstart/github-action/) | | GitLab repo | [GitLab CI](/reviewer/integrations/gitlab-integration/) | | Bitbucket repo | [Bitbucket Pipelines](/reviewer/integrations/bitbucket-integration/) | | Writing locally in VS Code | [VS Code](/reviewer/quickstart/vscode/) | | Google Docs | [Google Docs](/reviewer/quickstart/google-docs/) | | Local development or custom CI/CD | [CLI](/reviewer/quickstart/cli/) | *** ## After your first check [Section titled “After your first check”](#after-your-first-check) Once you’ve run your first review, explore these features: Docs Agent Generate API docs and guides from your code using AI. [Learn more →](/agent/) Rules reference Browse every rule EkLine Reviewer checks and how to fix each flag. [Learn more →](/reviewer/rules/) *** ## Stuck? [Section titled “Stuck?”](#stuck) Reply to your welcome email or contact . We read every message.