Skip to content

Commit f55c639

Browse files
committed
Update docs to point to CF tunnel option
1 parent 76bc81f commit f55c639

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/content/docs/hyperdrive/get-started.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ Before you begin, ensure you have completed the following:
3333

3434
1. Sign up for a [Cloudflare account](https://dash.cloudflare.com/sign-up/workers-and-pages) if you have not already.
3535
2. Install [`Node.js`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm). Use a Node version manager like [nvm](https://github.com/nvm-sh/nvm) or [Volta](https://volta.sh/) to avoid permission issues and change Node.js versions. [Wrangler](/workers/wrangler/install-and-update/) requires a Node version of `16.17.0` or later.
36-
3. Have **a publicly accessible** PostgreSQL/MySQL (or compatible) database.
36+
3. Have PostgreSQL/MySQL (or compatible) database, accessible in one of the following ways:
37+
* **Publicly Accessible**: Your database is directly reachable from the Internet.
38+
* **Private Network (Beta)**: Your database is in a private network (like a VPC) and can be securely connected using [Cloudflare Tunnel](/hyperdrive/configuration/connect-to-private-database/).
39+
3740

3841
## 1. Log in
3942

@@ -241,7 +244,7 @@ export default {
241244
try {
242245
// Connect to the database
243246
await sql.connect();
244-
247+
245248
// Sample query
246249
const results = await sql.query(`SELECT * FROM pg_tables`);
247250

@@ -366,4 +369,4 @@ By finishing this tutorial, you have created a Hyperdrive configuration, a Worke
366369
- How to [configure query caching](/hyperdrive/configuration/query-caching/).
367370
- [Troubleshooting common issues](/hyperdrive/observability/troubleshooting/) when connecting a database to Hyperdrive.
368371

369-
If you have any feature requests or notice any bugs, share your feedback directly with the Cloudflare team by joining the [Cloudflare Developers community on Discord](https://discord.cloudflare.com).
372+
If you have any feature requests or notice any bugs, share your feedback directly with the Cloudflare team by joining the [Cloudflare Developers community on Discord](https://discord.cloudflare.com).

0 commit comments

Comments
 (0)