mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
docs: add skip_onboarding query param
[DOCS-990]: https://hasurahq.atlassian.net/browse/DOCS-990?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9266 GitOrigin-RevId: 1dc772f6b4e1f6235b56f8a42e8b6a4120302334
This commit is contained in:
parent
26dfa3e718
commit
b3393cc344
@ -20,12 +20,16 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
<Thumbnail src='/img/databases/data-connector/create-project.png' alt='Connect new or existing database' width='1000px' />
|
||||
<Thumbnail
|
||||
src="/img/databases/data-connector/create-project.png"
|
||||
alt="Connect new or existing database"
|
||||
width="1000px"
|
||||
/>
|
||||
|
||||
### Step 2: Add your Amazon Athena database as a source to Hasura
|
||||
|
||||
@ -34,8 +38,8 @@ Head to the `Data > Manage databases` section on the Console to add your Amazon
|
||||
:::info Make sure your Amazon Athena service is reachable by Hasura Cloud:
|
||||
|
||||
1. **Allow public connections or
|
||||
[whitelist the Hasura Cloud IP](/hasura-cloud/projects/create.mdx#cloud-projects-create-allow-nat-ip) on your Amazon Athena
|
||||
firewall:** This is good for testing and will allow you to quickly try Hasura out with your database!
|
||||
[whitelist the Hasura Cloud IP](/hasura-cloud/projects/create.mdx#cloud-projects-create-allow-nat-ip) on your Amazon
|
||||
Athena firewall:** This is good for testing and will allow you to quickly try Hasura out with your database!
|
||||
2. **VPC peering:** VPC peering and private network access is available on Hasura Cloud paid tiers: Recommended for
|
||||
production. Get in touch with us if you'd like to try this out against your existing databases!
|
||||
|
||||
@ -43,19 +47,19 @@ Head to the `Data > Manage databases` section on the Console to add your Amazon
|
||||
|
||||
Now begin by clicking "Connect Database":
|
||||
|
||||
<Thumbnail src='/img/databases/data-connector/manage-databases.png' alt='Manage databases' width='1000px' />
|
||||
<Thumbnail src="/img/databases/data-connector/manage-databases.png" alt="Manage databases" width="1000px" />
|
||||
|
||||
Next, choose the `athena (Beta)` driver:
|
||||
|
||||
<Thumbnail src='/img/databases/athena/athena-add-service1.png' alt='Adding the Amazon Athena service' width='1000px' />
|
||||
<Thumbnail src="/img/databases/athena/athena-add-service1.png" alt="Adding the Amazon Athena service" width="1000px" />
|
||||
|
||||
Finally, enter your Amazon Athena database URL and
|
||||
[database schema](https://docs.aws.amazon.com/athena/latest/ug/creating-tables.html):
|
||||
|
||||
<Thumbnail
|
||||
src='/img/databases/athena/athena-add-service3.png'
|
||||
alt='Setting the Amazon Athena connection details.'
|
||||
width='1000px'
|
||||
src="/img/databases/athena/athena-add-service3.png"
|
||||
alt="Setting the Amazon Athena connection details."
|
||||
width="1000px"
|
||||
/>
|
||||
|
||||
Once you add the Amazon Athena service, you'll see it listed as an available database on the sidebar.
|
||||
@ -65,19 +69,19 @@ Once you add the Amazon Athena service, you'll see it listed as an available dat
|
||||
To query against your Amazon Athena service using Hasura, you'll need to have existing tables to select. Those tables
|
||||
will appear under the database as shown.
|
||||
|
||||
<Thumbnail src='/img/databases/athena/athena-tracking-tables-8.png' alt='Tracking tables.' width='1000px' />
|
||||
<Thumbnail src="/img/databases/athena/athena-tracking-tables-8.png" alt="Tracking tables." width="1000px" />
|
||||
|
||||
Track tables selectively or all so that Hasura can introspect the tables and create the corresponding GraphQL schema.
|
||||
Once you've selected the tables you'd like to track, click "Track Selected" to finish setup:
|
||||
|
||||
<Thumbnail src='/img/databases/athena/athena-9.png' alt='Tracking tables selected.' width='1000px' />
|
||||
<Thumbnail src="/img/databases/athena/athena-9.png" alt="Tracking tables selected." width="1000px" />
|
||||
|
||||
### Step 4: Try out a GraphQL query
|
||||
|
||||
Head to the `API` tab in the Console and try running a GraphQL query! Use the explorer sidebar on GraphQL to get help in
|
||||
creating a GraphQL query.
|
||||
|
||||
<Thumbnail src='/img/databases/athena/make-graphql-query.png' alt='Try a GraphQL query' width='1000px' />
|
||||
<Thumbnail src="/img/databases/athena/make-graphql-query.png" alt="Try a GraphQL query" width="1000px" />
|
||||
|
||||
## Keep up to date
|
||||
|
||||
|
@ -14,8 +14,8 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
# Get Started with with Hasura Cloud & BigQuery
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
@ -82,8 +82,8 @@ Hasura GraphQL Engine requires the following to connect to a BigQuery project:
|
||||
/>
|
||||
|
||||
You should now be able to track the tables that are part of the specified tables and configure relationships between
|
||||
them. As BigQuery lacks foreign key constraints, the Hasura Console cannot suggest relationships, so all relationships between
|
||||
BigQuery tables have to be manually configured.
|
||||
them. As BigQuery lacks foreign key constraints, the Hasura Console cannot suggest relationships, so all relationships
|
||||
between BigQuery tables have to be manually configured.
|
||||
|
||||
## Try out a GraphQL query
|
||||
|
||||
|
@ -46,8 +46,8 @@ schema.
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
|
@ -20,8 +20,8 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
@ -40,9 +40,9 @@ Driver={ODBC Driver 18 for SQL Server};Server=tcp:hasura-test.database.windows.n
|
||||
|
||||
:::info Make sure your SQL server database is reachable by Hasura Cloud:
|
||||
|
||||
1. Allow public connections or [whitelist the Hasura Cloud IP](/hasura-cloud/projects/create.mdx#cloud-projects-create-allow-nat-ip)
|
||||
on your SQL Server firewall: This is good for testing and will allow you to try Hasura out with your database
|
||||
quickly!
|
||||
1. Allow public connections or
|
||||
[whitelist the Hasura Cloud IP](/hasura-cloud/projects/create.mdx#cloud-projects-create-allow-nat-ip) on your SQL
|
||||
Server firewall: This is good for testing and will allow you to try Hasura out with your database quickly!
|
||||
2. VPC peering: VPC peering and private network access is available on Hasura Cloud paid tiers: Recommended for
|
||||
production. Get in touch with us if you'd like to try this out against your existing databases!
|
||||
|
||||
|
@ -23,14 +23,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
|
||||
This guide explains how to connect a new or existing
|
||||
[MS SQL database on Azure](https://azure.microsoft.com/en-us/products/azure-sql/database/) to a Hasura instance, either
|
||||
on [Hasura Cloud](https://cloud.hasura.io) or via one of our [self-hosted](/deployment/deployment-guides/index.mdx)
|
||||
solutions. If you're exploring MS SQL on Azure, and are interested in migrating an existing MS SQL database, check out
|
||||
their [docs](https://learn.microsoft.com/en-us/azure/dms/tutorial-sql-server-to-azure-sql) before continuing below.
|
||||
on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring MS SQL on Azure, and are
|
||||
interested in migrating an existing MS SQL database, check out their
|
||||
[docs](https://learn.microsoft.com/en-us/azure/dms/tutorial-sql-server-to-azure-sql) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-mssql).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-mssql).
|
||||
|
||||
:::
|
||||
|
||||
@ -110,8 +111,8 @@ paste the Hasura instance's IP address on both the `Start IP` and `End IP` input
|
||||
|
||||
<Thumbnail src="/img/cloud-dbs/mssql/add-ip-and-save.png" alt="Add IP to firewall" width="1000px" />
|
||||
|
||||
After entering the IP of your Hasura instance, click on `OK` and then click on `Save` at end of the page for the
|
||||
changes to take effect.
|
||||
After entering the IP of your Hasura instance, click on `OK` and then click on `Save` at end of the page for the changes
|
||||
to take effect.
|
||||
|
||||
## Step 5: Create database {#create-db-on-mssql-instance}
|
||||
|
||||
@ -159,8 +160,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
@ -181,7 +182,6 @@ Voilà. You are ready to start developing.
|
||||
|
||||
:::info Note
|
||||
|
||||
For more information on which SQL Server features we support, check out
|
||||
[this page]/databases/supported-databases.mdx).
|
||||
For more information on which SQL Server features we support, check out [this page]/databases/supported-databases.mdx).
|
||||
|
||||
:::
|
||||
|
@ -49,8 +49,8 @@ schema.
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
|
@ -46,8 +46,8 @@ schema.
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
|
@ -19,7 +19,7 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Aiven Postgres](https://aiven.io/postgresql) database to a Hasura
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Aiven and are interested in
|
||||
migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://docs.aiven.io/docs/products/postgresql/howto/migrate-pg-dump-restore.html) before continuing below.
|
||||
@ -136,8 +136,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -21,14 +21,14 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Google AlloyDB Postgres](https://cloud.google.com/alloydb)
|
||||
database to a Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring AlloyDB Postgres, check out
|
||||
their [docs](https://cloud.google.com/alloydb/docs) before continuing below.
|
||||
database to a Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring AlloyDB Postgres, check out their
|
||||
[docs](https://cloud.google.com/alloydb/docs) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-alloy).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-alloy).
|
||||
|
||||
:::
|
||||
|
||||
@ -45,7 +45,9 @@ On the Hasura Cloud dashboard, create a new project:
|
||||
|
||||
After the project is initialized successfully, click on `Launch Console` to open the Hasura Console in your browser.
|
||||
|
||||
On the Hasura Console, navigate to the `Data` tab and choose `Connect Existing Database`. Select AlloyDB from the `Data Source Driver` dropdown. Hasura will prompt you for a Postgres Database URL. We'll create this in the next step and then come back here.
|
||||
On the Hasura Console, navigate to the `Data` tab and choose `Connect Existing Database`. Select AlloyDB from the
|
||||
`Data Source Driver` dropdown. Hasura will prompt you for a Postgres Database URL. We'll create this in the next step
|
||||
and then come back here.
|
||||
|
||||
<Thumbnail src="/img/cloud-dbs/alloy/alloy-existing-db-setup.png" alt="Hasura Cloud database setup" width="700px" />
|
||||
|
||||
@ -90,7 +92,8 @@ Under the Networking tab, you'll be prompted to set up a list of IP addresses fo
|
||||
|
||||
:::info Note
|
||||
|
||||
If you work within a company project, you might need extra permissions to ensure that you can choose a specific network. Please contact your Google Cloud admin.
|
||||
If you work within a company project, you might need extra permissions to ensure that you can choose a specific network.
|
||||
Please contact your Google Cloud admin.
|
||||
|
||||
:::
|
||||
|
||||
@ -208,8 +211,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,16 +19,16 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [AWS RDS Aurora Postgres](https://aws.amazon.com/rds/aurora/)
|
||||
database to a Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring AWS RDS Aurora Postgres and are interested
|
||||
in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
database to a Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring AWS RDS Aurora Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.html) before continuing
|
||||
below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-aurora).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-aurora).
|
||||
|
||||
:::
|
||||
|
||||
@ -181,8 +181,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,7 +19,7 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [AWS RDS Postgres](https://aws.amazon.com/rds/) database to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring AWS RDS Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-postgresql-to-amazon-rds/) before
|
||||
@ -27,8 +27,8 @@ continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-hasura-project-aws-rds-postgres).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-hasura-project-aws-rds-postgres).
|
||||
|
||||
:::
|
||||
|
||||
@ -180,8 +180,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -21,14 +21,14 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
|
||||
This guide explains how to connect a new
|
||||
[Azure Cosmos DB for PostgreSQL](https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/introduction) to a Hasura
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Azure Cosmos DB for PostgreSQL,
|
||||
check out their [docs](https://azure.microsoft.com/en-us/products/cosmos-db/#overview) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-azure).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-azure).
|
||||
|
||||
:::
|
||||
|
||||
@ -41,21 +41,21 @@ and sign up or log in.
|
||||
|
||||
On the Hasura Cloud dashboard, create a new project:
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/create-hasura-cloud-project.png' alt='Create Hasura Cloud project' width='1000px' />
|
||||
<Thumbnail src="/img/cloud-dbs/create-hasura-cloud-project.png" alt="Create Hasura Cloud project" width="1000px" />
|
||||
|
||||
After the project is initialized successfully, click on `Launch Console` to open the Hasura Console in your browser.
|
||||
|
||||
On the Hasura Console, navigate to the `Data` tab and choose `Connect Existing Database`. Hasura will prompt you for a
|
||||
Postgres Database URL. We'll create this in the next step and then come back here.
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/existing-db-setup.png' alt='Hasura Cloud database setup' width='700px' />
|
||||
<Thumbnail src="/img/cloud-dbs/existing-db-setup.png" alt="Hasura Cloud database setup" width="700px" />
|
||||
|
||||
## Step 3: Create a Cosmos DB on Azure {#create-pg-db-azure}
|
||||
|
||||
You can start a free trial with [Azure Cosmos DB](https://cosmos.azure.com/try/). Select Azure Cosmos DB for PostgreSQL
|
||||
and click `Create`:
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/azure-cosmos/cosmos-create.png' alt='Create Azure Cosmos' width='1000px' />
|
||||
<Thumbnail src="/img/cloud-dbs/azure-cosmos/cosmos-create.png" alt="Create Azure Cosmos" width="1000px" />
|
||||
|
||||
After signing up, you're redirected to your database's home on your Azure portal.
|
||||
|
||||
@ -76,31 +76,31 @@ of the page.
|
||||
|
||||
Click `Connection strings` in the side navigation:
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/azure-cosmos/cosmos-dashboard.png' alt='Azure Cosmos DB Dashboard' />
|
||||
<Thumbnail src="/img/cloud-dbs/azure-cosmos/cosmos-dashboard.png" alt="Azure Cosmos DB Dashboard" />
|
||||
|
||||
Copy the value labeled as `PostgreSQL connection URL`.
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/azure-cosmos/cosmos-connection-url.png' alt='Connection strings for the database' />
|
||||
<Thumbnail src="/img/cloud-dbs/azure-cosmos/cosmos-connection-url.png" alt="Connection strings for the database" />
|
||||
|
||||
## Step 5: Finish connecting the database
|
||||
|
||||
Back on the Hasura Console, enter the database URL that we retrieved in [step 4](#get-db-url-azure-cosmos):
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/azure-cosmos/cosmos-connect.png' alt='Database setup' width='600px' />
|
||||
<Thumbnail src="/img/cloud-dbs/azure-cosmos/cosmos-connect.png" alt="Database setup" width="600px" />
|
||||
|
||||
Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
Voilà. You are ready to start developing.
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/hasura-console.png' alt='Hasura Console' />
|
||||
<Thumbnail src="/img/cloud-dbs/hasura-console.png" alt="Hasura Console" />
|
||||
|
||||
## Next steps
|
||||
|
||||
@ -112,7 +112,7 @@ Voilà. You are ready to start developing.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) or
|
||||
[custom domains](/hasura-cloud/projects/domains.mdx#manage-project-domains)).
|
||||
|
||||
<Thumbnail src='/img/getting-started/project-manage.png' alt='Project actions' width='860px' />
|
||||
<Thumbnail src="/img/getting-started/project-manage.png" alt="Project actions" width="860px" />
|
||||
|
||||
:::info Note
|
||||
|
||||
|
@ -20,16 +20,16 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
|
||||
This guide explains how to connect a new or existing
|
||||
[Azure Postgres database](https://azure.microsoft.com/en-us/products/postgresql/) to a Hasura instance, either on
|
||||
[Hasura Cloud](https://cloud.hasura.io) or via one of our [self-hosted](/deployment/deployment-guides/index.mdx)
|
||||
solutions. If you're exploring Azure Postgres and are interested in migrating an existing Postgres database - such as
|
||||
from Heroku - check out their
|
||||
[Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Azure Postgres and are interested
|
||||
in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://learn.microsoft.com/en-us/azure/dms/tutorial-postgresql-azure-postgresql-online-portal) before continuing
|
||||
below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-azure).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-azure).
|
||||
|
||||
:::
|
||||
|
||||
@ -75,15 +75,15 @@ Then click `Next : Networking >`.
|
||||
|
||||
## Step 4: Allow connections to your DB from Hasura
|
||||
|
||||
If you're using Hasura Cloud, you can quickly find your IP address from the
|
||||
`Hasura Cloud IP` field on the project's details view:
|
||||
If you're using Hasura Cloud, you can quickly find your IP address from the `Hasura Cloud IP` field on the project's
|
||||
details view:
|
||||
|
||||
<Thumbnail src="/img/projects/hasura-cloud-ip.png" alt="Hasura Cloud IP field" />
|
||||
|
||||
:::info Self-hosted instances
|
||||
|
||||
If you're using a self-hosted solution, you'll need to determine the IP address
|
||||
manually depending on your hosting service.
|
||||
If you're using a self-hosted solution, you'll need to determine the IP address manually depending on your hosting
|
||||
service.
|
||||
|
||||
:::
|
||||
|
||||
@ -93,8 +93,8 @@ Add the Hasura IP address that you copied:
|
||||
|
||||
Then click `Save` on the top left.
|
||||
|
||||
Optionally, select `Allow public access from any Azure service within Azure to
|
||||
this server`, if you require intra-Azure connectivity.
|
||||
Optionally, select `Allow public access from any Azure service within Azure to this server`, if you require intra-Azure
|
||||
connectivity.
|
||||
|
||||
Finally, click `Review + create` to review your settings, and if you're happy, create the database.
|
||||
|
||||
@ -147,8 +147,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,8 +19,8 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
|
@ -19,8 +19,8 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
@ -34,20 +34,19 @@ connection string will start with `postgres://`, i.e, there is no difference bet
|
||||
and Postgres’s connection strings.
|
||||
|
||||
CockroachDB requires an SSL root certificate by default. To use this, you must set an environment variable for your
|
||||
Hasura GraphQL Engine instance with the contents of the certificate as the value, and then specify the name of the environment
|
||||
variable as the `SSL Root Certificate`.
|
||||
Hasura GraphQL Engine instance with the contents of the certificate as the value, and then specify the name of the
|
||||
environment variable as the `SSL Root Certificate`.
|
||||
|
||||
:::info Note
|
||||
|
||||
Pay extra notice that if you use one of CockroachDB's serverless databases, you will be prompted with a connection string
|
||||
that contains the parameter `sslverify`. You must add this parameter manually via the "SSL Certificates Settings" section.
|
||||
Pay extra notice that if you use one of CockroachDB's serverless databases, you will be prompted with a connection
|
||||
string that contains the parameter `sslverify`. You must add this parameter manually via the "SSL Certificates Settings"
|
||||
section.
|
||||
|
||||
Depending on how you have configured [Network
|
||||
Authorization](https://www.cockroachlabs.com/docs/cockroachcloud/network-authorization.html) on your CockroachDB
|
||||
Serverless database, you will also need to either add the Hasura IP (which can be
|
||||
found on the `General` tab of your Hasura Project details page) to the allowlist,
|
||||
or setup a [dedicated
|
||||
VPC](/hasura-cloud/dedicated-vpc.mdx).
|
||||
Depending on how you have configured
|
||||
[Network Authorization](https://www.cockroachlabs.com/docs/cockroachcloud/network-authorization.html) on your
|
||||
CockroachDB Serverless database, you will also need to either add the Hasura IP (which can be found on the `General` tab
|
||||
of your Hasura Project details page) to the allowlist, or setup a [dedicated VPC](/hasura-cloud/dedicated-vpc.mdx).
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,15 +19,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Crunchy Postgres](https://www.crunchydata.com/) database to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Crunchy Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://www.crunchydata.com/migrate-from-heroku) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-crunchy).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-crunchy).
|
||||
|
||||
:::
|
||||
|
||||
@ -40,14 +40,14 @@ and sign up or log in.
|
||||
|
||||
On the Hasura Cloud dashboard, create a new project:
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/create-hasura-cloud-project.png' alt='Create Hasura Cloud project' />
|
||||
<Thumbnail src="/img/cloud-dbs/create-hasura-cloud-project.png" alt="Create Hasura Cloud project" />
|
||||
|
||||
After the project is initialized successfully, click on `Launch Console` to open the Hasura Console in your browser.
|
||||
|
||||
On the Hasura Console, navigate to the `Data` tab and choose `Connect Existing Database`. Hasura will prompt you for a
|
||||
Postgres Database URL. We'll create this in the next step and then come back here.
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/existing-db-setup.png' alt='Hasura Cloud database setup' width='700px' />
|
||||
<Thumbnail src="/img/cloud-dbs/existing-db-setup.png" alt="Hasura Cloud database setup" width="700px" />
|
||||
|
||||
## Step 3: Create a Postgres DB on Crunchy {#create-pg-db-crunchy}
|
||||
|
||||
@ -55,14 +55,14 @@ Log into [Crunchy](https://crunchybridge.com/dashboard).
|
||||
|
||||
From your dashboard, click `Create Cluster`:
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/crunchy/crunchy-dashboard.png' alt='Crunchy dashboard' width='700px' />
|
||||
<Thumbnail src="/img/cloud-dbs/crunchy/crunchy-dashboard.png" alt="Crunchy dashboard" width="700px" />
|
||||
|
||||
Fill in the necessary information and click `Create Cluster`:
|
||||
|
||||
<Thumbnail
|
||||
src='/img/cloud-dbs/crunchy/crunchy-create-cluster.png'
|
||||
alt='Create a new cluster with Crunchy'
|
||||
width='700px'
|
||||
src="/img/cloud-dbs/crunchy/crunchy-create-cluster.png"
|
||||
alt="Create a new cluster with Crunchy"
|
||||
width="700px"
|
||||
/>
|
||||
|
||||
:::info Note
|
||||
@ -87,25 +87,25 @@ postgres://<user-name>:<password>@<host-server>:<port>/<database-name>
|
||||
Click on the Hasura card to see your connection string:
|
||||
|
||||
<Thumbnail
|
||||
src='/img/cloud-dbs/crunchy/crunchy-cluster-dashboard.png'
|
||||
alt='Create a new cluster with Crunchy'
|
||||
width='700px'
|
||||
src="/img/cloud-dbs/crunchy/crunchy-cluster-dashboard.png"
|
||||
alt="Create a new cluster with Crunchy"
|
||||
width="700px"
|
||||
/>
|
||||
|
||||
At the bottom of the instructions, we'll select `Superuser` (which will be `postgres`) for our role:
|
||||
|
||||
<Thumbnail
|
||||
src='/img/cloud-dbs/crunchy/crunchy-connection-string-user.png'
|
||||
alt='Create a new cluster with Crunchy'
|
||||
width='700px'
|
||||
src="/img/cloud-dbs/crunchy/crunchy-connection-string-user.png"
|
||||
alt="Create a new cluster with Crunchy"
|
||||
width="700px"
|
||||
/>
|
||||
|
||||
Copy the connection string:
|
||||
|
||||
<Thumbnail
|
||||
src='/img/cloud-dbs/crunchy/crunchy-connection-string-full.png'
|
||||
alt='Create a new cluster with Crunchy'
|
||||
width='700px'
|
||||
src="/img/cloud-dbs/crunchy/crunchy-connection-string-full.png"
|
||||
alt="Create a new cluster with Crunchy"
|
||||
width="700px"
|
||||
/>
|
||||
|
||||
## Step 5: Finish connecting the database
|
||||
@ -113,9 +113,9 @@ Copy the connection string:
|
||||
Back on the Hasura Console, enter the database URL that we retrieved in the previous step:
|
||||
|
||||
<Thumbnail
|
||||
src='/img/cloud-dbs/render/render-connect-db.png'
|
||||
alt='Connect the database on Hasura Console'
|
||||
width='700px'
|
||||
src="/img/cloud-dbs/render/render-connect-db.png"
|
||||
alt="Connect the database on Hasura Console"
|
||||
width="700px"
|
||||
/>
|
||||
|
||||
Then click `Connect Database`.
|
||||
@ -123,14 +123,14 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
Voilà. You are ready to start developing.
|
||||
|
||||
<Thumbnail src='/img/cloud-dbs/hasura-console.png' alt='Hasura Console' />
|
||||
<Thumbnail src="/img/cloud-dbs/hasura-console.png" alt="Hasura Console" />
|
||||
|
||||
## Next steps
|
||||
|
||||
@ -142,7 +142,7 @@ Voilà. You are ready to start developing.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) or
|
||||
[custom domains](/hasura-cloud/projects/domains.mdx#manage-project-domains)).
|
||||
|
||||
<Thumbnail src='/img/getting-started/project-manage.png' alt='Project actions' width='860px' />
|
||||
<Thumbnail src="/img/getting-started/project-manage.png" alt="Project actions" width="860px" />
|
||||
|
||||
:::info Note
|
||||
|
||||
|
@ -21,15 +21,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
|
||||
This guide explains how to connect a new or existing
|
||||
[DigitalOcean Postgres](https://www.digitalocean.com/products/managed-databases-postgresql) database to a Hasura
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring DigitalOcean Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://docs.digitalocean.com/products/databases/postgresql/how-to/migrate/) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-do).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-do).
|
||||
|
||||
:::
|
||||
|
||||
@ -136,8 +136,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -20,13 +20,13 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [ElephantSQL Postgres](https://www.elephantsql.com/) database to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-elephant).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-elephant).
|
||||
|
||||
:::
|
||||
|
||||
@ -123,8 +123,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -21,15 +21,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
|
||||
This guide explains how to connect a new or existing
|
||||
[EnterpriseDB](https://www.enterprisedb.com/products/biganimal-cloud-postgresql) (BigAnimal) Postgres database to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx). If you're exploring EnterpriseDB Postgres and are interested in migrating
|
||||
an existing Postgres database - such as from Heroku - check out their
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx). If you're exploring EnterpriseDB Postgres and are interested in
|
||||
migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://www.enterprisedb.com/docs/biganimal/latest/migration/cold_migration/) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-enterprisedb).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-enterprisedb).
|
||||
|
||||
:::
|
||||
|
||||
@ -152,8 +152,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,15 +19,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [GCP Postgres database](https://cloud.google.com/sql) to a Hasura
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring GCP Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring GCP Postgres and are interested in
|
||||
migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://cloud.google.com/database-migration/docs/postgres) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-gcp).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-gcp).
|
||||
|
||||
:::
|
||||
|
||||
@ -53,8 +53,7 @@ Postgres Database URL. We'll create this in the next step and then come back her
|
||||
|
||||
:::info Note
|
||||
|
||||
If you have an existing Postgres database on GCP, you can skip this step and move on to
|
||||
[step 4](#allow-connections).
|
||||
If you have an existing Postgres database on GCP, you can skip this step and move on to [step 4](#allow-connections).
|
||||
|
||||
:::
|
||||
|
||||
@ -141,8 +140,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,7 +19,7 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing Postgres database hosted on Heroku to a Hasura instance, either on
|
||||
[Hasura Cloud](https://cloud.hasura.io) or [self-hosted](/deployment/deployment-guides/index.mdx).
|
||||
[Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or [self-hosted](/deployment/deployment-guides/index.mdx).
|
||||
|
||||
:::warning
|
||||
|
||||
@ -75,8 +75,8 @@ to help you:
|
||||
</a> or move to a different database provider. Heroku also appears to not be responding to questions from free-tier users.
|
||||
<br />
|
||||
<br />
|
||||
If you have URL sync enabled via our <a href={'/latest/hasura-cloud/projects/heroku-url-sync/'}>Heroku integration</a>, you can
|
||||
follow{' '}
|
||||
If you have URL sync enabled via our <a href={'/latest/hasura-cloud/projects/heroku-url-sync/'}>Heroku integration</a>
|
||||
, you can follow{' '}
|
||||
<a href={'https://devcenter.heroku.com/articles/upgrading-heroku-postgres-databases#upgrading-with-pg-copy'}>
|
||||
these steps
|
||||
</a>{' '}
|
||||
|
@ -19,7 +19,8 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new [Neon](https://neon.tech/) serverless Postgres database to a [Hasura Cloud](https://cloud.hasura.io) instance.
|
||||
This guide explains how to connect a new [Neon](https://neon.tech/) serverless Postgres database to a
|
||||
[Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) instance.
|
||||
|
||||
## Creating a New Neon Database
|
||||
|
||||
|
@ -20,14 +20,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
|
||||
This guide explains how to connect a new or existing
|
||||
[Railway Postgres database](https://docs.railway.app/databases/postgresql) to a Hasura instance, either on
|
||||
[Hasura Cloud](https://cloud.hasura.io) or via one of our [self-hosted](/deployment/deployment-guides/index.mdx)
|
||||
solutions. If you're exploring Railway Postgres and are interested in migrating an existing Postgres database - such as
|
||||
from Heroku - check out their [docs](https://railway.app/heroku) before continuing below.
|
||||
[Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Railway Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://railway.app/heroku) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-railway).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-railway).
|
||||
|
||||
:::
|
||||
|
||||
@ -104,8 +105,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,15 +19,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Render Postgres database](https://render.com/docs/databases) to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Render Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Render Postgres and are interested
|
||||
in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://render.com/docs/migrate-from-heroku) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-render).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-render).
|
||||
|
||||
:::
|
||||
|
||||
@ -96,8 +96,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,15 +19,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Supabase Postgres database](https://supabase.com/database) to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Supabase Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://supabase.com/docs/guides/migrations/heroku) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-supabase).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-supabase).
|
||||
|
||||
:::
|
||||
|
||||
@ -155,8 +155,8 @@ Then click `Connect Database`.
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the databases in place
|
||||
of the raw database URLs.
|
||||
[env vars](/hasura-cloud/projects/env-vars.mdx#manage-project-env-vars) and using the env vars to connect to the
|
||||
databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,15 +19,15 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Timescale Postgres](https://www.timescale.com/) database to a
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Timescale Postgres and are interested in
|
||||
migrating an existing Postgres database - such as from Heroku - check out their
|
||||
Hasura instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Timescale Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://docs.timescale.com/timescaledb/latest/how-to-guides/migrate-data/) before continuing below.
|
||||
|
||||
:::info Note
|
||||
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura instance and
|
||||
already have a project running, skip to [step 3](#create-pg-db-timescale).
|
||||
If you plan on using Hasura Cloud, which we recommend, follow steps 1 and 2 below. If you're self-hosting a Hasura
|
||||
instance and already have a project running, skip to [step 3](#create-pg-db-timescale).
|
||||
|
||||
:::
|
||||
|
||||
@ -132,8 +132,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,7 +19,7 @@ import HeadingIcon from '@site/src/components/HeadingIcon';
|
||||
## Introduction
|
||||
|
||||
This guide explains how to connect a new or existing [Yugabyte Postgres database](https://www.yugabyte.com/) to a Hasura
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io) or via one of our
|
||||
instance, either on [Hasura Cloud](https://cloud.hasura.io?skip_onboarding=true) or via one of our
|
||||
[self-hosted](/deployment/deployment-guides/index.mdx) solutions. If you're exploring Yugabyte Postgres and are
|
||||
interested in migrating an existing Postgres database - such as from Heroku - check out their
|
||||
[docs](https://docs.yugabyte.com/preview/migrate/migrate-steps/) before continuing below.
|
||||
@ -104,8 +104,7 @@ If using Hasura Cloud, from your project's dashboard, copy the Hasura Cloud IP a
|
||||
If you're using a self-hosted solution, you'll need to determine the IP address manually depending on your hosting
|
||||
service.
|
||||
|
||||
:::
|
||||
Enter the Hasura IP address that you copied:
|
||||
::: Enter the Hasura IP address that you copied:
|
||||
|
||||
<Thumbnail
|
||||
src="/img/cloud-dbs/yugabyte/yb-step-3f.png"
|
||||
@ -150,8 +149,8 @@ Then click `Connect Database`.
|
||||
|
||||
:::info Note
|
||||
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and using the env
|
||||
vars to connect to the databases in place of the raw database URLs.
|
||||
For security reasons, it is recommended to set database URLs as [env vars](/hasura-cloud/projects/env-vars.mdx) and
|
||||
using the env vars to connect to the databases in place of the raw database URLs.
|
||||
|
||||
:::
|
||||
|
||||
|
@ -19,8 +19,8 @@ import Thumbnail from '@site/src/components/Thumbnail';
|
||||
### Step 1: Create an account on Hasura Cloud and create a new Hasura Project
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
Once you create a project on Hasura Cloud, hit the "Launch Console" button to open the Hasura Console for your project.
|
||||
|
||||
|
@ -38,8 +38,8 @@ step-by-step!
|
||||
## Step 1: Create an account
|
||||
|
||||
Navigate to
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default), and
|
||||
create a new Hasura Cloud account.
|
||||
[cloud.hasura.io](https://cloud.hasura.io/signup/?pg=docs&plcmt=body&cta=navigate-to-cloud-hasura-io&tech=default&skip_onboarding=true),
|
||||
and create a new Hasura Cloud account.
|
||||
|
||||
## Step 2: Create a project
|
||||
|
||||
|
@ -22,7 +22,7 @@ import Player from '@site/src/components/Player';
|
||||
This guide, and the others contained in this directory, are intended to be a step-by-step resource to build an
|
||||
application using Hasura. If you arrived here from the Hasura Cloud Console, you'll have already created a project and
|
||||
are ready to follow the steps below. If you're here from elsewhere, you can create a
|
||||
[Hasura Cloud project](https://cloud.hasura.io) for free and get started right away.
|
||||
[Hasura Cloud project](https://cloud.hasura.io?skip_onboarding=true) for free and get started right away.
|
||||
|
||||
### What we're building
|
||||
|
||||
|
@ -22,7 +22,7 @@ import Player from '@site/src/components/Player';
|
||||
This guide, and the others contained in this directory, are intended to be a step-by-step resource to build an
|
||||
application using Hasura. If you arrived here from the Hasura Cloud Console, you'll have already created a project and
|
||||
are ready to follow the steps below. If you're here from elsewhere, you can create a
|
||||
[Hasura Cloud project](https://cloud.hasura.io) for free and get started right away.
|
||||
[Hasura Cloud project](https://cloud.hasura.io?skip_onboarding=true) for free and get started right away.
|
||||
|
||||
### What we're building
|
||||
|
||||
|
@ -22,7 +22,7 @@ import Player from '@site/src/components/Player';
|
||||
This guide, and the others contained in this directory, are intended to be a step-by-step resource to build an
|
||||
application using Hasura. If you arrived here from the Hasura Cloud Console, you'll have already created a project and
|
||||
are ready to follow the steps below. If you're here from elsewhere, you can create a
|
||||
[Hasura Cloud project](https://cloud.hasura.io) for free and get started right away.
|
||||
[Hasura Cloud project](https://cloud.hasura.io?skip_onboarding=true) for free and get started right away.
|
||||
|
||||
### What we're building
|
||||
|
||||
|
@ -12,8 +12,8 @@ sidebar_position: 3
|
||||
|
||||
# Authentication with the Hasura Pro CLI
|
||||
|
||||
All interactions from the CLI to Hasura's APIs are authenticated using a personal access token generated for your
|
||||
user account.
|
||||
All interactions from the CLI to Hasura's APIs are authenticated using a personal access token generated for your user
|
||||
account.
|
||||
|
||||
To set up a token, execute the following command on the CLI:
|
||||
|
||||
@ -23,9 +23,9 @@ hasura pro login
|
||||
|
||||
This command will show a prompt for entering the personal access token.
|
||||
|
||||
Head to your [Hasura Cloud account settings](https://cloud.hasura.io) to create a new token. You can name it
|
||||
something like "cli". Note that the token will be shown only once and as soon as you copy the token, paste it in
|
||||
your terminal prompt.
|
||||
Head to your [Hasura Cloud account settings](https://cloud.hasura.io?skip_onboarding=true) to create a new token. You
|
||||
can name it something like "cli". Note that the token will be shown only once and as soon as you copy the token, paste
|
||||
it in your terminal prompt.
|
||||
|
||||
:::warning Keep this token secure!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user