Host Panel Apps on Posit Connect
Posit Connect now includes support for the Panel framework, expanding its capabilities to host a wider range of Python frameworks. Panel is an open-source Python library that lets you create custom interactive web apps by connecting user-defined widgets to plots, images, tables, or text. Part of the Holoviz family of Python libraries, Panel is a widely used framework to share dashboards and other visualizations.
Data scientists use a variety of tools to deliver insights based on their organization, personal preferences, and the specific use case they are solving. We want Connect to make it easy for data scientists and organizations to share interactive applications securely, seamlessly, and at scale.
Connect is ideal for supporting a range of use cases, such as:
- Production-ready, interactive dashboards
- Generative AI prototypes for stakeholders
- AI chatbots
- Machine learning models
Learn more about Panel
To see what kinds of applications you can build with Panel, visit the following resources to see code examples and Panel templates:
Deploy your Panel App
With Connect, you have several options on how to deploy your content based on your preferred workflow. To learn more about how content can be deployed to Connect, you can visit our documentation on each method.
- Push Button Deployment: Deploy your application using the Posit Publisher extension
- Command Line Interface: Deploy your application using your CLI with rsconnect-python
- Git-Backed Deployment: Deploy your application from a Git repository
Let’s walk through an example of how easy it is to deploy content with one specific method, your CLI and the rsconnect-python package.
Imagine you’ve completed an initial analysis for a large team in your organization and want someone to review it before you share it with everyone. With the rsconnect-python package, you can easily deploy your content with your CLI, a few lines of code, and an API key from your Connect server.
In this scenario, you’ve packaged up your analysis into an interactive application in a file named app.py.
rsconnect deploy panel . \
--entrypoint app.py
--server SERVER_URL \
--api-key YOUR_API_KEY \
--title "My App" \With just a few lines of code, your content is now on Connect and ready to share with stakeholders. Frequently deploying to the same Connect server? You can also store information about your Connect server to make it easier to manage.
rsconnect add \
--api-key YOUR_API_KEY \.
--server SERVER_URL \
--name myserverYou can learn more about how to store server information here.
Support and Instructions
Support for Panel requires Posit Connect 2025.11.0 or newer.