Getting started

Follow the instructions below to set up your Posit AI account and get started with Posit Assistant and Next Edit Suggestions.

RStudio

Install RStudio

  1. Download and install the current version of RStudio. We recommend using RStudio Desktop (open source).

  2. Open RStudio.

  3. Show Posit Assistant via the toolbar icon in the top right of the IDE.

The RStudio toolbar with the Posit Assistant toolbar icon highlighted in the top right
  1. The pane asks you to install Posit AI. Click the button to do so.

The RStudio sidebar prompting the user to install Posit AI
  1. After the installation completes, a prompt asks you to verify that you trust the workspace. Once verified, you will see Posit Assistant and a Sign In button.

The RStudio sidebar showing Posit Assistant and a Sign In button

Sign in to Posit AI

  1. Click Sign In.
  • Open your browser to authorize.
  • Confirm the codes match and authorize access.

If you are already logged in to Posit AI, a prompt asks you to close the window and return to RStudio.

If you are not already logged in, create an account or log in with existing credentials. After you create your account or log in, the system redirects you to your Posit AI home page.

Start your work

  1. After successfully authenticating, Posit Assistant is now ready for use in the IDE.

Posit Assistant successfully set up in RStudio

Visit the standalone documentation for Posit Assistant to learn how to use the tool effectively.

Positron

Install Positron

  1. Download and install the current version of Positron.

  2. Open Positron.

Enable Posit Assistant

  1. Open Posit Assistant from the activity bar, then click Help me set it up.

The Positron sidebar showing Posit Assistant with the Help me set it up button

  1. In the setup dialog, click Enable Posit Assistant.

The Set up an AI provider dialog showing the Enable Posit Assistant and Add a language model provider steps

Sign in to Posit AI

  1. Click Configure LLM providers, choose Posit AI, and click Sign In.

The Configure Language Model Providers dialog with Posit AI selected and OAuth authentication

  • Open your browser to authorize.
  • Confirm the codes match and authorize access.

If you are already logged in to Posit AI, a prompt asks you to close the window and return to Positron.

If you are not already logged in, create an account or log in with existing credentials. After you create your account or log in, the system redirects you to your Posit AI home page.

  1. After successfully authenticating, the setup dialog confirms that Posit Assistant is ready. Click Got it.

The setup dialog showing both steps complete and Posit Assistant is ready

Start your work

  1. Begin working with Posit Assistant.

Posit Assistant ready for use in Positron

Visit the standalone documentation for Posit Assistant in Positron to learn more.