Publishing to Posit Connect in Snowpark Container Services
Posit Connect in Snowpark Container Services is currently in private preview. Email sales@posit.co for more information.
Prerequisites
- The address of your Posit Connect deployment
https://example-accountname.snowflakecomputing.app/ - A
connections.tomlorconfig.tomlfile containing your Snowflake credentials- See the Snowflake documentation for more information on creating these files and their contents
- Only keypair (
SNOWFLAKE_JWT) and OAuth authenticators are supported
From the RStudio IDE
The UI-driven account registration flow is not currently supported; you must set up publishing by running the following from the console. Once the connection is established, push-button publishing can proceed as normal.
Using rsconnect >= 1.5.0,
rsconnect::addServer(
"https://example-accountname.snowflakecomputing.app",
name = "example",
snowflakeConnectionName = "example-connection"
)
rsconnect::connectSPCSUser(server = "example", snowflakeConnectionName = "example-connection")From the command-line interface
Install the Posit CLI with Snowflake support using uv:
Terminal
uv tool install 'posit-cli[snowflake]'See the CLI publishing guide for general installation and authentication guidance. For Snowflake authentication, register your server with the connection name from your Snowflake configuration:
Terminal
posit connect add \
--server https://example-accountname.snowflakecomputing.app \
--snowflake-connection-name example-connection \
--name exampleFrom Posit Publisher
Using Publisher version >= 1.16.0 in VS Code or Positron:
Command Palette > Posit Publisher: New Credential
Provide the address of your Posit Connect server and press ‘Enter’. Publisher will discover and test your configured Snowflake credentials and prompt you to choose one. Name and save the credential, and then proceed to deploy your content as normal.