Plot HomeDocumentation

Work on code in GitHub

Connect GitHub so Plot can edit pages, set up A/B tests and build landing pages in your repositories.

Connect GitHub, and Plot can change code in your repositories. For example, you can ask "Change the pricing page headline to Plans for every team" or "Build a landing page from this brief".

A workspace admin connects GitHub once. After that, Plot works on the repositories you add to an area, and it pushes its changes the way you ask.

Connect GitHub

  1. Open Settings and select Integrations under Workspace.
  2. Select GitHub.
  3. Select Connect a GitHub organization.
  4. On GitHub, pick the organization and the repositories Plot can use, and install the app.

The organization shows on the GitHub page with its number of repositories. Select Manage on GitHub to add or remove repositories later. Plot only uses repositories that you are allowed to push to.

Add repositories to an area

An area's threads work on the repositories you add to that area. An agency can add every client's website to that client's area, so Plot always works on the right code.

  1. Select the area in the Chat sidebar.
  2. Open the Connectors tab.
  3. Under Repositories, select Add repository and pick one.

Only people with full access to the area can add or remove repositories.

Pick the repository for a thread

A thread works on one repository. When an area has a single repository, Plot uses it without asking. Otherwise, Plot shows a card the first time it needs code, and you pick the repository and select Use for this thread. You can't change it afterwards, so start a new thread to work on a different repository.

Outside an area, a workspace admin can pick any connected repository. Other people can pick a repository from an area where they can make changes.

Review the changes

Once a thread has a repository, the top of the thread shows how many lines Plot added, removed and changed. Select it to open the changes next to the chat.

Pick a file on the left to see its changes. Select lines of code to quote them in your reply, such as "Make this button bigger". The quote names the file and its lines, so Plot knows what you mean.

How Plot pushes changes

Plot follows how your team works. Tell it to push to its own branch so your team can review the change on GitHub, or to commit straight to the default branch. Plot always asks you before it pushes to the default branch or does anything else that changes a live site.