website/src/content/docs/connect/custom.mdx
Deploy your RivetKit app to your hosting platform of choice. The specific steps will vary depending on your platform, but ensure:
/api/rivet endpoint is publicly accessibleAfter creating your project on the Rivet dashboard, select "Custom" as your provider. You'll be provided two environment variables to configure in your hosting platform:
RIVET_ENDPOINT - The endpoint for your app to communicate with RivetRIVET_PUBLIC_ENDPOINT - The public endpoint for clients to connect to actorsAdd these environment variables to your hosting platform's configuration.
</Step> <Step title="Connect to Rivet">/api/rivet path into the connect form (e.g. https://my-app.example.com/api/rivet)Your hosting platform must support:
/api/rivet endpoint/api/rivet endpoint returns a valid responseRIVET_ENDPOINT and RIVET_PUBLIC_ENDPOINT are both configured