Management
Posit Team includes a Posit Connect management page for an administrator to perform post-installation operations.
To manage Connect, click the Connect Manage button on the landing page.
Stop, start, restart
The Connect service can be managed in several ways:
- Manually triggered operations
- Programmatic operations
- Scheduled operations
If there are times when Connect is not used, such as on weekends and holidays, stopping (suspending) the service can help reduce your Snowflake compute costs. By default, a suspended service resumes when a user visits it.
Some features of Connect, such as scheduled jobs, do not run while the service is suspended.
Manual operations
You can manually stop, start, and restart the Connect service from the Manage page.
Programmatic operations
You can start, stop, and restart the Connect service using SQL commands.
Start service
Starts the named product service.
Syntax
START_SERVICE(product VARCHAR)Start Connect within the POSIT_TEAM Native App:
Snowsight UI
SELECT POSIT_TEAM.app.START_SERVICE('connect');Stop service
Stops the named product service.
Syntax
STOP_SERVICE(product VARCHAR, allow_resume BOOLEAN DEFAULT TRUE)The optional allow_resume argument indicates whether or not user activity is allowed to resume the service. With allow_resume = TRUE (the default), a user visiting the product resumes the service. With allow_resume = FALSE, the service does not resume on user activity. This setting persists until an administrator starts the service from the management page or a SQL call.
The Posit Team management page for Connect shows a badge indicating when auto-resume is disabled. Users visiting the product through Posit Team see that the service is stopped.
Stop Connect within the POSIT_TEAM Native App, allowing the service to resume on user activity:
Snowsight UI
SELECT POSIT_TEAM.app.STOP_SERVICE('connect');Stop Connect within the POSIT_TEAM Native App, preventing automatic resume on user activity:
Snowsight UI
SELECT POSIT_TEAM.app.STOP_SERVICE('connect', FALSE);Restart service
Restarts the named product service.
Syntax
RESTART_SERVICE(product VARCHAR)Restart Connect within the POSIT_TEAM Native App:
Snowsight UI
SELECT POSIT_TEAM.app.RESTART_SERVICE('connect');Scheduled operations
Schedule the start and stop of Connect with Snowflake tasks. This example stops Connect with allow_resume = FALSE so user activity does not resume the service.
Snowsight UI
-- Create a task to stop Connect at 6 PM daily.
CREATE OR REPLACE TASK task_connect_stop
SCHEDULE = 'USING CRON 0 18 * * * America/New_York'
AS
SELECT POSIT_TEAM.app.STOP_SERVICE('connect', FALSE);
-- Enable the stop task.
ALTER TASK task_connect_stop RESUME;
-- Create a task to start Connect at 8 AM daily
CREATE OR REPLACE TASK task_connect_start
SCHEDULE = 'USING CRON 0 8 * * * America/New_York'
AS
SELECT POSIT_TEAM.app.START_SERVICE('connect');
-- Enable the start task.
ALTER TASK task_connect_start RESUME;Upgrade
Posit frequently upgrades the Posit Team Native App and its associated version of Connect. When the Posit Team Native App is updated, Posit Team automatically upgrades Connect.
Some configuration changes require a service upgrade before they take effect. The management page indicates when configuration changes require an upgrade. Click Upgrade to upgrade Connect.
Change configuration
In the management page you can change the license, modify the compute pool instance family, increase storage, update user roles and access, update the OAuth integration, and configure email. Some changes require a service upgrade. Follow the upgrade section instructions.
Modify compute pool
The Manage page lets you change the instance family of the compute pool that runs Connect. Choose an instance family appropriate to your workload requirements.
Click Upgrade to apply an instance family change and restart Connect.
Increase storage
The Manage page lets you increase the storage for Connect content. Enter a larger size and save it.
Storage can only grow. Click Upgrade to apply the change. The upgrade backs up Connect, recreates it with the larger storage, and restores the backup. This can take some time, and the Connect URL changes. Existing OAuth integrations stop working. Update them as described in Configure Snowflake OAuth, and update any saved links.
Automatic upgrades also apply a pending storage increase.
Configure Snowflake OAuth
Configure Snowflake OAuth for Connect after setup is complete. Configure OAuth directly in the Connect UI, not in the Posit Team Native App.
Step 1: Create the Snowflake OAuth security integration
Open the Manage page and click Snowflake OAuth to access the setup instructions and SQL template.
Customize the SQL template with your desired security integration name, then run it in a Snowflake Worksheet as an ACCOUNTADMIN.
Step 2: Retrieve the client ID and client secret
After creating the integration, run the following SQL as an ACCOUNTADMIN to retrieve the OAuth client credentials:
SELECT SYSTEM$SHOW_OAUTH_CLIENT_SECRETS('YOUR_APP_NAME_CONNECT_OAUTH');Step 3: Configure the integration in Connect
Visit System > Integrations in Connect and use the OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET from Step 2 to configure the integration.
If Restricted Caller’s Rights is enabled, also set Token Endpoint URL to the URL shown on the Snowflake OAuth page.
Follow the Snowflake OAuth integration instructions to complete the configuration.
Enable Restricted Caller’s Rights
Restricted Caller’s Rights (RCR) routes Connect Snowflake queries directly through the Snowflake internal network. On the Manage page, turn on Enable RCR under Restricted Caller’s Rights, then click Upgrade to apply the change.
RCR also requires a network rule and a caller grant in your Snowflake account. See Restricted Caller’s Rights for the full configuration.
Backup and restore
Posit Team automatically creates a Connect backup roughly once per week and retains the most recent four, about one month of backups. Posit Team removes older automatic backups.
You can also create a backup manually, which is useful when you want one taken at a specific point in time, such as before an upgrade or a configuration change. Posit Team does not manage manual backups; delete them when they are no longer needed.
To create a manual backup, specify a backup name or leave it blank for a randomly assigned name and click Save New Backup.
Next, wait several minutes for the backup to be created.
Restoring from a backup takes about 10 minutes. You cannot restore a backup that is larger than the configured storage. Increase storage first. You can delete backups that are no longer needed.
Logs
You can view logs of the Connect installation.
User access
Snowflake users can access Connect after you grant the appropriate application role to their user roles. We recommend you grant the application role POSIT_TEAM_USER to most users.
Snowsight UI
GRANT APPLICATION ROLE POSIT_TEAM.POSIT_TEAM_USER TO ROLE YOUR_USER_ROLE;To give users access to Connect but not the other products in the Posit Team Native App, grant the POSIT_CONNECT_PUBLISHER or POSIT_CONNECT_VIEWER application role. Grant POSIT_CONNECT_PUBLISHER to users who publish content and POSIT_CONNECT_VIEWER to users who only view content. See Managing Application Roles to learn more.
Snowsight UI
GRANT APPLICATION ROLE POSIT_TEAM.POSIT_CONNECT_PUBLISHER TO ROLE YOUR_PUBLISHER_ROLE;
GRANT APPLICATION ROLE POSIT_TEAM.POSIT_CONNECT_VIEWER TO ROLE YOUR_VIEWER_ROLE;Connect groups
You can create additional application roles to use as groups in Connect. Publishers and Collaborators can use “groups” to associate multiple users to content as viewers or collaborators. This can often provide an easier alternative to maintaining a discrete list of users associated with each instance of published content.
To add a new application role, click User Roles and Access on the Connect management page.
The application roles page lets you manage custom application roles. Posit Team owns the POSIT_* roles. Custom application roles cannot use the POSIT_* prefix.
Egress
Connect reaches external hosts through the network rule POSIT_TEAM_APP_DATA.CONFIGURATION.POSIT_TEAM_CONNECT_EGRESS_NETWORK_RULE and the external access integration POSIT_TEAM_CONNECT_EGRESS_EXTERNAL_ACCESS, where POSIT_TEAM is your application name.
The endpoints Connect needs depend on whether Restricted Caller’s Rights is enabled and whether Package Manager is running in your Posit Team Native App. The Applies when column shows which endpoints depend on your configuration.
Enable Restricted Caller’s Rights and set the Snowflake integration’s token endpoint. RCR keeps Snowflake OAuth and SQL traffic on the Snowflake network, so Connect no longer needs egress to your Snowflake account endpoint or its stage hosts.
| Endpoint | Required | Applies when | Purpose |
|---|---|---|---|
<org>-<account>.snowflakecomputing.com:443 |
Required | Without RCR | Snowflake OAuth and SQL queries. Enable Restricted Caller’s Rights and set the Snowflake integration’s token endpoint to keep this traffic on the Snowflake network and remove this endpoint. With private connectivity, use the .privatelink host in a PRIVATE_HOST_PORT rule instead. See Find your Snowflake account endpoint below. |
p3m.dev:443, packagemanager.posit.co:443, rspm-sync.rstudio.com:443 |
Required | Package Manager not in app | R and Python packages for deployed content from the public Package Manager |
Stage hosts from SYSTEM$ALLOWLIST() |
Optional | Without RCR | Downloading large query results from the internal stage of your account. Add the entries with "type":"STAGE". See Remove open egress. |
<provider-host>:443, for example accounts.google.com:443 or login.microsoftonline.com:443 |
Optional | Always | OAuth integrations with providers outside Snowflake. Connect must reach the token endpoint of each provider to exchange and refresh credentials. |
github.com:443, api.github.com:443, or your Git host |
Optional | Always | Git-backed content and Gallery examples |
raw.githubusercontent.com:443, release-assets.githubusercontent.com:443, posit-dev.github.io:443 |
Optional | Always | The Connect Gallery list and releases, and the dashboard news feed |
pypi.org:443, files.pythonhosted.org:443 |
Optional | Always | Gallery content and Git-backed content that installs from PyPI directly |
<smtp-host>:<port> |
Optional | Always | Sending email. Snowflake must also open the SMTP port for your account. |
<host>:<port> of your databases and services |
Optional | Always | Data sources and APIs reachable on the public internet |
<host>:<port> of resources in your VPC or VNet |
Optional | Always | Databases, internal APIs, self-hosted Posit products, and package repositories reached over private connectivity. Each hostname needs a private endpoint and its own PRIVATE_HOST_PORT rule. |
0.0.0.0:443, 0.0.0.0:80 |
Optional | Always | Open egress to any host, the install default. Remove it after you allow the endpoints above. |
To change the rule, see Change a network rule. To add a rule for private connectivity or a rule you manage yourself, see Add a network rule to an external access integration.
Find your Snowflake account endpoint
To find the Snowflake account endpoint for your account, run:
Snowsight UI
SELECT REPLACE(LOWER(CURRENT_ORGANIZATION_NAME()), '_', '-') || '-' || REPLACE(LOWER(CURRENT_ACCOUNT_NAME()), '_', '-') || '.snowflakecomputing.com';Visit the generated URL in your browser and verify that it points to the Snowflake account hosting the Posit Team Native App.
Troubleshooting and support
Visit the troubleshooting page for known issues and troubleshooting steps. If none of the troubleshooting steps help, please submit a request through the Posit support form or click Support in the navigation header.














