Getting Started

Hi! You must be new here...

Thanks for trying out shinyapps.io! You'll need to install the rsconnect R package or rsconnect-python Python package to get started. These packages enable you to deploy and manage your Shiny applications directly from your local environment. To get started, fire up your favorite IDE, and follow the directions below.

Step 1 – Install rsconnect

The rsconnect package can be installed directly from CRAN. To make sure you have the latest version run following code in your R console:

install.packages('rsconnect')
Step 2 – Authorize Account

The rsconnect package must be authorized to your account using a token and secret. To do this, click the copy button below and we'll copy the whole command you need to your clipboard. Paste it into your R console to authorize your account. Once you've entered the command successfully in R, that computer is now authorized to deploy Shiny for R applications to your shinyapps.io account.

{{ text }}

In the future, you can manage your tokens from the Tokens page the settings menu.

Step 3 – Deploy

Once the rsconnect package has been configured, you're ready to deploy your first application. If you haven't written any applications yet, you can also checkout the Getting Started Guide for instructions on how to deploy our demo application. Run the following code in your R console.

library(rsconnect)
    rsconnect::deployApp('path/to/your/app')
Step 1 – Install rsconnect-python

The rsconnect-python package can be installed directly from PyPi and can be installed through pip by running the following command in your terminal:

pip install rsconnect-python
Step 2 – Authorize Account

The rsconnect-python package must be authorized to your account using a token and secret. To do this, click the copy button below and we'll copy the whole command you need to your clipboard. Paste it into your terminal to authorize your account. Once you've entered the command successfully, that computer is now authorized to deploy Shiny for Python applications to your shinyapps.io account.

{{ text }}

In the future, you can manage your tokens from the Tokens page the settings menu.

Step 3 – Deploy

Once the rsconnect-python package has been configured, you're ready to deploy your first application by running the following command in your terminal.

rsconnect deploy shiny path/to/your/app --name {{currentAccount == null ? 'my-account-name': currentAccount.name}} --title your-app-name
Account is suspended until {{ suspended_until | date:'medium' }} due to "{{ currentAccount['suspended_reason'] | lowercase }}".
All of your applications will be unavailable until then, or you can upgrade your account.
  What's new?

{{ numAppsRunning + numAppsSleeping + numAppsPending }}

Applications Online

  Recent Applications
Id Name Status
{{ application.id }} {{application.name}}
No Recent Applications