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

# Timesheet Portal OAuth 2.0 (Client Credentials) connector profile – StackOne setup guide

> Set up the OAuth 2.0 (Client Credentials) connector profile for Timesheet Portal in StackOne. One-time admin setup required before your users can link Timesheet Portal accounts via Hub.

<Warning>Generating API credentials requires signing in as a System Administrator user that is authorised for API access. Timesheet Portal issues a single Client ID and Client secret per account under Settings → Account → API.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Create your Timesheet Portal API credentials</h2>

  <p>Timesheet Portal generates a <strong>Client ID</strong> and <strong>Client secret</strong> for your account under<br />Settings → Account → API. Sign in as a System Administrator, open the API settings, then copy<br />the values into the StackOne Connector profile.</p>

  <Steps>
    <Step title="Sign in to Timesheet Portal">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Open your Timesheet Portal login page and, under <strong>Sign In</strong>, enter the <strong>Email</strong> and<br /><strong>Password</strong> of a System Administrator user, then click <strong>Log in</strong>.</p>

        <ul>
          <li>Sign in at your account's dedicated login page. Format: `https://{account-name}.timesheetportal.com`</li>
          <li>Example: `https://acme.timesheetportal.com`</li>
          <li>If you have a single account you can also use the generic <a href="https://login.timesheetportal.com" target="_blank" rel="noopener noreferrer">Timesheet Portal login</a>.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/FbKaoa1QOGXf0VB2/connectors/timesheetportal/images/oauth2-setup-sign-in.png?fit=max&auto=format&n=FbKaoa1QOGXf0VB2&q=85&s=65b23006179c35e1a382d462d9ec42ba" alt="Timesheet Portal Sign In screen with the Email and Password fields and the Log in button." width="1280" height="800" data-path="connectors/timesheetportal/images/oauth2-setup-sign-in.png" />
      </div>
    </Step>

    <Step title="Open the API settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Settings</strong> menu. In the settings panel, under the <strong>Account</strong> section choose<br /><strong>API</strong> to open the API applications list. Timesheet Portal lists a single <strong>API Application</strong><br />named <strong>Timesheet Portal API</strong> together with its assigned <strong>API user</strong>.</p>

        <img src="https://mintcdn.com/stackone-60/FbKaoa1QOGXf0VB2/connectors/timesheetportal/images/oauth2-setup-api-settings.png?fit=max&auto=format&n=FbKaoa1QOGXf0VB2&q=85&s=462a2665b9196db33ae2be071f7b0bb2" alt="Settings panel with the Account section expanded and the API item selected, showing the API Application list." width="1280" height="800" data-path="connectors/timesheetportal/images/oauth2-setup-api-settings.png" />
      </div>
    </Step>

    <Step title="Copy your Client ID and Client secret">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Timesheet Portal API</strong> application to open it. Confirm the <strong>API user</strong> is an<br />API-authorised System Administrator, then copy the <strong>Client ID</strong> value. Click<br /><strong>Click to show secret</strong> to reveal the <strong>Client secret</strong> and copy it. Use<br /><strong>Regenerate API credentials</strong> if you need to issue a fresh pair.</p>

        <ul>
          <li>Paste the <strong>Client ID</strong> value into the <strong>Client ID</strong> field in the StackOne Connector profile.</li>
          <li>Paste the revealed secret into the <strong>Client Secret</strong> field in the StackOne Connector profile.</li>
          <li>You only need to supply the Client ID and Client Secret — there are no additional connection URLs to register.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/FbKaoa1QOGXf0VB2/connectors/timesheetportal/images/oauth2-setup-api-credentials.png?fit=max&auto=format&n=FbKaoa1QOGXf0VB2&q=85&s=401b6ff3ece63923f5a7c5a902cd4508" alt="Timesheet Portal API application detail showing the API user, Regenerate API credentials button, Client ID field and the Click to show secret button." width="1280" height="800" data-path="connectors/timesheetportal/images/oauth2-setup-api-credentials.png" />
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>Timesheet Portal</strong>:

<Steps>
  <Step title="Navigate to Connector Profiles">
    Login to StackOne and navigate to [Connector Profiles](https://app.stackone.com/connector_profiles)
  </Step>

  <Step title="Create New Connector Profile">
    <ul>
      <li>Click <strong>+ Connector Profile</strong></li>
      <li>Search for and select <strong>Timesheet Portal</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0 (Client Credentials)</strong></li>

      <li>
        Fill out the fields using details retrieved from your provider:

        <ul style={{ marginLeft: '20px' }}>
          <li><strong>Client ID</strong></li>
          <li><strong>Client Secret</strong></li>
        </ul>
      </li>

      <li>(Optional) Select <strong>Actions</strong> to be enabled for this Connector Profile</li>
      <li>Click <strong>Create profile</strong></li>
    </ul>
  </Step>
</Steps>

Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to <a href="/guides/accounts-section#linking-accounts">Link Accounts</a> for <strong>Timesheet Portal</strong>.
