-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: initial cloud usage guide page. #2257
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for electric-next ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Does this look mergeable as a starting point, pending further ideas as per https://github.com/electric-sql/stratovolt/issues/240 ? |
website/product/cloud/usage.md
Outdated
|
||
### Proxy auth | ||
|
||
The recommended pattern for secure use of the Electric Cloud is to add the source ID and secret parameter to the origin request made by your [auth proxy](/docs/guides/auth). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The recommended pattern for secure use of the Electric Cloud is to add the source ID and secret parameter to the origin request made by your [auth proxy](/docs/guides/auth). | |
The recommended pattern for secure use of the Electric Cloud is to add the source ID and secret parameter to the origin request made by your [auth proxy](/docs/guides/auth). This is generally a REST API. |
website/product/cloud/usage.md
Outdated
import { ShapeStream } from '@electric-sql/client' | ||
|
||
const stream = new ShapeStream({ | ||
url: `https://api.electric-sql.cloud/v1/shape`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be their API URL
https://deploy-preview-2257--electric-next.netlify.app/product/cloud/usage