> ## Documentation Index
> Fetch the complete documentation index at: https://docs.refold.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup

> Connect to your Basecamp app for OAuth.

To setup your Basecamp app in Refold for OAuth, you will need the following credentials from your [Basecamp Integrations Page](https://launchpad.37signals.com/integrations):

* Client ID
* Client Secret

### Pre-requisites

1. Basecamp account. You can create one [here](https://basecamp.com/pricing/india).

<Info>If you haven't already created an app in Basecamp, you'd need to create one.</Info>

### Creating an app in Basecamp

To create a Basecamp app and acquire the above mentioned credentials, please follow the steps mentioned below:

1. Log in to your [Basecamp Integrations Page](https://launchpad.37signals.com/integrations).
2. Click on `Register another application` button in the centre.

<img height="200" src="https://mintcdn.com/cobalt-55/YZVVpdFwo8NtLV-a/images/Basecamp/basecamp_navigation.png?fit=max&auto=format&n=YZVVpdFwo8NtLV-a&q=85&s=fb4c1cbd6b08887790f31c04fc21c46f" alt="Creating OAuth app" data-path="images/Basecamp/basecamp_navigation.png" />

3. Enter the `Name of your application`, `Company Name` and `Website URL` and select `Product` as **Basecamp 4**.

4. Go to your [`Apps catalog`](https://app.gocobalt.io/apps) in **Refold** > Search for `Basecamp` > `Settings` > `Use your credentials` > `Callback Url` > Copy it. Paste the Callback URL under `Redirect URI` in Basecamp and click on the `Register this app` button.

5. Scroll down in the **OAuth2** section and copy the **Client ID** and **Client Secret**.

<img height="200" src="https://mintcdn.com/cobalt-55/YZVVpdFwo8NtLV-a/images/Basecamp/basecamp_credentials.png?fit=max&auto=format&n=YZVVpdFwo8NtLV-a&q=85&s=45b185ec0174d90af560ef119a1c9e37" alt="Getting Credentials" data-path="images/Basecamp/basecamp_credentials.png" />

#### Configuring credentials in Refold

App settings page lets you configure the authentication settings for an `OAuth 2.0` based application. For your customers to provide you authorization to access their data,
they would first need to install your application. This page lets you set up your application credentials.

<img height="200" src="https://mintcdn.com/cobalt-55/YZVVpdFwo8NtLV-a/images/Basecamp/basecamp_cobalt.png?fit=max&auto=format&n=YZVVpdFwo8NtLV-a&q=85&s=041d8a47287818baa463b6d67eae54d7" alt="Setting up application client credentials" data-path="images/Basecamp/basecamp_cobalt.png" />

Provide the acquired Client ID and Client Secret under Settings of the app and save it.

#### Actions and triggers

Once the above setup is completed, you can create orchestrations of your use-cases using Basecamp actions and triggers. Following are the set of Basecamp actions and triggers
supported by Refold.

<Tabs>
  <Tab title="Actions">
    <AccordionGroup>
      <Accordion title="Project">
        1. **Create Project** - Create a project in Basecamp.
        2. **Delete Project** - Delete a project in Basecamp.
      </Accordion>

      <Accordion title="ToDo List">
        3. **Create ToDo List** - Create a ToDo List in Basecamp.
      </Accordion>

      <Accordion title="ToDo">
        4. **Create ToDo** - Create a ToDo in Basecamp.
      </Accordion>

      <Accordion title="Others">
        5. **HTTP Request** - Make HTTP API calls to any Basecamp documented REST APIs.
      </Accordion>
    </AccordionGroup>
  </Tab>

  <Tab title="Triggers">
    There are no triggers in this application.
  </Tab>
</Tabs>
