You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/storage/catalog/postgres/index.md
+11-15Lines changed: 11 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,30 +24,26 @@ Segment supports the following Postgres database providers:
24
24
25
25
This guide explains how to set up a Postgres database with Heroku. Heroku is a cloud-based platform-as-a-service which simplifies the process of setting up and administering a Postgres database.
26
26
27
-
1. Sign up for a Heroku account. You can create a free account [on Heroku's website](https://signup.heroku.com/identity){:target="_blank"}.
28
-
29
-
2.[Log in](https://id.heroku.com/login){:target="_blank"} to your Heroku account.
30
-
31
-
3. On the landing page, select **Create new app**.
27
+
> info "First sync duration"
28
+
> The initial sync between Segment and Heroku Postgres can take up to 24 hours to complete.
32
29
33
-
4. Add a name for your app and select the region where you want your host your app. If you have an existing pipeline that you want to add your app to, add it at this step. When you've finished updating your app's settings, click **Create app**.
30
+
1.[Sign up](https://signup.heroku.com/identity){:target="_blank"} for a Heroku account, or [log in](https://id.heroku.com/login){:target="_blank"} to an existing account.
34
31
35
-
5. On the Deploy page, select the **Resources** tab.
32
+
2. On the Heroku landing page, select **Create new app**.
36
33
37
-
6. On the **Resources** page, add a new add-on to your app by searching for "Heroku Postgres" in the search bar. Select the plan that you wish to bill the database to, and click **Submit Order Form**. _Learn more about pricing information on [Heroku's website](https://www.heroku.com/pricing#data-services)._
34
+
3. Give your app a name and select the region where it should be hosted. If you want to add your app to a Heroku pipeline, do so here. When you've finished updating your app's settings, click **Create app**.
38
35
39
-
7. From the Deploy page, select the Settings tab. Click the **View Credentials...** button and copy the host, database, user, and password fields.
36
+
4. On the Resources page, add a new add-on to your app by searching for "Heroku Postgres" in the search bar. Select the billing plan that you want to use for this app and click **Submit Order Form**. Segment recommends that customers start with a Standard 4 plan. _Learn more about plan pricing on the [Heroku Postgres pricing page](https://www.heroku.com/pricing#data-services)._
40
37
41
-
8. Open the Segment app. On the Overview page, click **Add Destination**.
38
+
5. On the Deploy page, select the Settings tab. Click the **View Credentials...** button and copy the host, database, user, and password fields. You need this information to connect your database to Segment in a later step.
42
39
43
-
9. Search for and select the Postgres destination.
40
+
6. Open the Segment app. On the Overview page, click **Add Destination**.
44
41
45
-
10. Choose the sources you'd like to connect to Postgres, and click **Next**.
42
+
7. Search for and select the Postgres destination.
46
43
47
-
11. Enter the host, database, user, and password fields you copied in step seven, and click **Connect**. If Segment successfully connected to your destination, you'll see the Next Steps screen. If not, check your host, database, user, and password fields.
44
+
8. Choose the source(s) you'd like to connect to Postgres, and click **Next**.
48
45
49
-
> warning "First sync duration"
50
-
> The initial sync between Segment and Heroku Postgres can take up to 24 hours to complete.
46
+
9. Enter the host, database, user, and password fields you copied from Heroku in an earlier step, and click **Connect**. If Segment successfully connected to your destination, you'll see the Next Steps screen. If not, check your host, database, user, and password fields match your Heroku settings.
0 commit comments