Skip to content
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

feat(integrations): add API rate limiting to Front #3101

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs-v2/integrations/all/front.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ API configuration: [`front`](https://nango.dev/providers.yaml)

- [How to register an Application](https://dev.frontapp.com/docs/create-and-manage-apps#obtain-oauth-credentials-for-your-app)
- [OAuth-related docs](https://dev.frontapp.com/docs/oauth)
- [API rate limiting](https://dev.frontapp.com/docs/rate-limiting)
- [API](https://dev.frontapp.com/reference/introduction)

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>
Expand All @@ -31,3 +32,9 @@ API configuration: [`front`](https://nango.dev/providers.yaml)
- Access tokens will expire after an hour.

<Note>Add Getting Started links and Gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs-v2/integrations/all/front.mdx)</Note>

## Going further

<Card title="Connect to Front" icon="link" href="/integrations/all/front/connect" horizontal>
Guide to connect to Front using Nango Connect.
</Card>
41 changes: 41 additions & 0 deletions docs-v2/integrations/all/front/connect.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
hassan254-prog marked this conversation as resolved.
Show resolved Hide resolved
title: Front - How do I link my account?
sidebarTitle: Front
---


# Overview

To authenticate with Front, you will need your client credentials, which are:
1. **Client ID** - A unique identifier for your client.
2. **Client Secret** - A confidential key used to authenticate the identity of the application (client).

This guide will walk you through the process of obtaining these credentials within Front.

### Prerequisites:

- You must have a registered account with Front.

### Instructions:

#### Step 1: Generating your API client credentials
1. Head to the [Developer's Page](https://app.frontapp.com/settings/developers) and click on **Create app**.
<img src="/integrations/all/front/create-app.png" />
2. A form will be presented to you, in here please fill out your application's name and description.
3. Once you submit this form, an application will be created for you. You will then need to enable OAuth in the **OAuth** tab.
<img src="/integrations/all/front/enable-oauth.png" />
4. Once this is done, a pair of client credentials(Client Id and Client Secret) will be generated. Please also add your **Redirect URLs**.
<img src="/integrations/all/front/front-oauth.png" />
#### Step 2: Enter credentials in the Connect UI

After obtaining both the **Client ID** and **Client Secret**:
1. Open the form where you need to authenticate with Front within Nango.
2. Enter the **Client ID** in the designated field.
3. Enter the **Client Secret** in the Client Secret field. You can leave the **scopes** blank, as Front does not currently support scoped access tokens.
<img src="/integrations/all/front/nango-integration.png" />
4. After adding this click on the **Save** button at the bottom right then click on **Add Connection** at the top right.
<img src="/integrations/all/front/form.png" style={{maxWidth: "450px" }}/>
5. Submit the form, and you should be successfully authenticated.

You are now connected to Front.

Binary file added docs-v2/integrations/all/front/create-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-v2/integrations/all/front/enable-oauth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-v2/integrations/all/front/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-v2/integrations/all/front/front-oauth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/shared/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,8 @@ front:
token_url: https://app.frontapp.com/oauth/token
proxy:
base_url: https://api2.frontapp.com
retry:
after: 'Retry-after'
paginate:
type: link
response_path: _results
Expand Down
Loading