Skip to content

Commit 7ef2c0b

Browse files
Fixing bad links
1 parent b019595 commit 7ef2c0b

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

docs-v2/pages/connect/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You have full, code-level control over how these integrations work in your app.
1111

1212
Connect lets you:
1313

14-
1. Handle authorization or accept API keys on behalf of your users, for any of Pipedream's [{process.env.PUBLIC_APPS}+ APIs](https://pipedream.com/apps). Use the [Client SDK](https://github.com/PipedreamHQ/pipedream/tree/master/packages/sdk) or [Connect Link](/connect/quickstart#use-connect-link) to accept auth in minutes.
14+
1. Handle authorization or accept API keys on behalf of your users, for any of Pipedream's [{process.env.PUBLIC_APPS}+ APIs](https://pipedream.com/apps). Use the [Client SDK](https://github.com/PipedreamHQ/pipedream/tree/master/packages/sdk) or [Connect Link](/connect/quickstart#or-use-connect-link) to accept auth in minutes.
1515
2. Securely retrieve OAuth access tokens, API keys, and other credentials for your end users with Pipedream's [REST API](/connect/api)
1616
3. [Run workflows](/connect/workflows) for your end users with Pipedream's [workflow builder](/workflows), [serverless runtime](/), and thousands of no-code [triggers](/workflows/triggers) and [actions](/workflows/actions). Build complex integrations in minutes, writing code when you need it and using no-code components when you don't. Pipedream workflows are easy to modify, debug, and scale.
1717
4. [Embed any Pipedream action or trigger](/connect/components) to run on behalf of your users, directly from within your application.

docs-v2/pages/connect/oauth-clients.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For any OAuth app that supports it, **you can always use your own client.** Your
3030

3131
1. Follow the steps [here](/connected-accounts/oauth-clients#configuring-custom-oauth-clients) to create an OAuth client in Pipedream.
3232
2. When connecting an account either via the [frontend SDK](/connect/quickstart#use-the-pipedream-sdk-in-your-frontend), make sure to include the `oauthAppId` in `pd.connectAccount()`.
33-
3. If using [Connect Link](/connect/quickstart#use-connect-link), make sure to include the `oauthAppId` in the URL.
33+
3. If using [Connect Link](/connect/quickstart#or-use-connect-link), make sure to include the `oauthAppId` in the URL.
3434

3535
### Finding your OAuth app ID
3636

docs-v2/pages/connect/quickstart.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Here's how Connect sits in your frontend and backend, and communicates with Pipe
2929
You'll need to do two things to add Pipedream Connect to your app:
3030

3131
1. [Connect to the Pipedream API from your server](#generate-a-short-lived-token). This lets you make secure calls to the Pipedream API to initiate the account connection flow and retrieve account credentials. If you're running a JavaScript framework like Node.js on your server, you can use the Pipedream SDK.
32-
2. [Add the Pipedream SDK to your frontend](#connect-a-users-account) or redirect your users to [a Pipedream-hosted URL](/connect/connect-link) to start the account connection flow.
32+
2. [Add the Pipedream SDK to your frontend](#connect-your-users-account) or redirect your users to [a Pipedream-hosted URL](/connect/connect-link) to start the account connection flow.
3333

3434
We'll walk through these steps below, using [an example Next.js app](https://github.com/PipedreamHQ/pipedream-connect-examples/tree/master/managed-auth-basic-next-app/). To follow along, clone [the repo](https://github.com/PipedreamHQ/pipedream-connect-examples/) and follow the instructions in [the app's `README`](https://github.com/PipedreamHQ/pipedream-connect-examples/tree/master/managed-auth-basic-next-app/). That will run the app on `localhost:3000`.
3535

@@ -74,7 +74,7 @@ You'll need these when configuring the SDK and making API requests.
7474

7575
### Generate a short-lived token
7676

77-
To securely initiate account connections for your users, you'll need generate a short-lived token for your users and use that in the [account connection flow](#connect-a-users-account). See [the docs on Connect tokens](/connect/tokens) for a general overview of why we need to create tokens and scope them to end users.
77+
To securely initiate account connections for your users, you'll need generate a short-lived token for your users and use that in the [account connection flow](#connect-your-users-account). See [the docs on Connect tokens](/connect/tokens) for a general overview of why we need to create tokens and scope them to end users.
7878

7979
In the Next.js example here, we're running [Next server components](https://nextjs.org/docs/app/building-your-application/rendering/server-components) in `app/server.ts`. We call the `serverConnectTokenCreate` method from the frontend to retrieve a token **for a specific user**.
8080

@@ -88,7 +88,7 @@ const { token, expires_at } = await serverConnectTokenCreate({
8888

8989
If you're using a different server / API framework, you'll need to make secure calls to that API to create a new token for your users.
9090

91-
Once you have a token, return it to your frontend to start the account connection flow for the user, or redirect them to a Pipedream-hosted URL with [Connect Link](#use-connect-link).
91+
Once you have a token, return it to your frontend to start the account connection flow for the user, or redirect them to a Pipedream-hosted URL with [Connect Link](#or-use-connect-link).
9292

9393
<Callout type="info">
9494
Refer to the API docs for [full set of parameters you can pass](/connect/api#create-a-new-token) in the `ConnectTokenCreate` call.
@@ -99,7 +99,7 @@ Refer to the API docs for [full set of parameters you can pass](/connect/api#cre
9999
To connect a third-party account for a user, you have two options:
100100

101101
1. [Use the Pipedream SDK](#use-the-pipedream-sdk-in-your-frontend) in your frontend
102-
2. [Use Connect Link](#use-connect-link) to deliver a hosted URL to your user
102+
2. [Use Connect Link](#or-use-connect-link) to deliver a hosted URL to your user
103103

104104
#### Use the Pipedream SDK in your frontend
105105

docs-v2/pages/connect/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Connect tokens expire, and are only able to be used once. Try generating a new t
3838

3939
_App not found. Please check your app id._
4040

41-
Double-check the app slug you're passing [when connecting your user's account](/connect/quickstart#connect-a-users-account).
41+
Double-check the app slug you're passing [when connecting your user's account](/connect/quickstart#connect-your-users-account).
4242

4343
### Connection failed. Please retry or contact support.
4444

docs-v2/pages/privacy-and-security/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Tokens expire after 4 hours, at which point you must create a new token for that
133133

134134
### Connect Link
135135

136-
You can also use [Connect Link](/connect/quickstart#use-connect-link) to generate a URL that initiates the authorization flow for a specific user. This is useful when you want to initiate the auth flow from a client-side environment that can't run JavaScript, or include the link in an email, chat message, etc.
136+
You can also use [Connect Link](/connect/connect-link) to generate a URL that initiates the authorization flow for a specific user. This is useful when you want to initiate the auth flow from a client-side environment that can't run JavaScript, or include the link in an email, chat message, etc.
137137

138138
Like tokens, Connect Links are coupled to specific users, and expire after 4 hours.
139139

docs-v2/vercel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,14 @@
281281
{
282282
"source": "/docs/connected-accounts/api",
283283
"destination": "/docs/connect/api#accounts"
284+
},
285+
{
286+
"source": "/docs/connect/quickstart#use-connect-link",
287+
"destination": "/docs/connect/quickstart#or-use-connect-link"
288+
},
289+
{
290+
"source": "/docs/connect/quickstart#connect-a-users-account",
291+
"destination": "/docs/connect/quickstart#connect-your-users-account"
284292
}
285293
]
286294
}

0 commit comments

Comments
 (0)