> ## 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.

# Connect TempWorks with OAuth 2.0 (Password Grant) – StackOne Hub

> Link a TempWorks account in the StackOne Hub using OAuth 2.0 (Password Grant). End-user guide to authorize the integration and start using TempWorks actions.

> [!WARNING]
>
> The connection acts as one Web User and can only reach that user's own data. Most actions in this connector need a Service Rep or service connection instead.

## Gather the Web User details

You need the customer's tenant and product instance id from TempWorks, and the portal login of the Web User to connect.

**1. Get the tenant and product instance id**

TempWorks provides the **Tenant** name and the **Product Instance ID** (a GUID) for the staffing agency whose portal the Web User signs in to.

**2. Choose the user type and enter the login**

Pick **Employee** for a placed worker or **Contact** for a client-company contact, then enter that user's portal **Username** and **Password**.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.