Control access to your deployment without any code configuration.
Private Deployments add authentication to your Replit Apps without requiring any
code changes. When enabled, Replit restricts access to your app using a Replit login screen.
Only logged in members of your Organization that have access can use the site.
Private Deployments are available only to Teams subscribers.
Your Replit App must be in a Team workspace to use Private Deployments.
Restricted app access is useful for project types including the following:
When deploying your Replit App from a Teams workspace, you can choose between a Public or Private deployment.
The following sections describe how to set up and manage your Private Deployments.
Scheduled Jobs omit this option because they do not listen for incoming traffic.
Create a Private Deployment
Select the user menu at the top left of the Home screen to view your workspaces.
Verify or select the Team workspace in which to deploy your Replit App.
Open the Replit App you want to deploy.
Toggle the Private Deployment option to the “on” position as shown below:
After setting the deployment options, select Deploy to confirm the deployment.
View your Private Deployments
Select the user menu at the top left of the Home screen to view your workspaces.
Verify or select the Team workspace in which to deploy your Replit App.
From the Home screen, select Deployments from the left dock.
You should see a list of the Team’s deployments similar to the screenshot below:
Edit existing deployment visibility
Select the deployment and open the Deployment tool.
In the Deployment tab, select Edit commands and secrets, toggle the setting on or off.