> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/b/beeline-professional-edition-connect.md).

# Beeline Professional Edition Connect

Beeline Professional Edition Connect is a workforce and contingent labor platform. OctoXLabs reads its users through the Connect API.

## Use cases

* List Beeline users and check their email domains.

```
Adapters = beeline-professional-edition-connect AND Email = *
```

## Before you begin

### Network

| Source              | Destination        | Port | Protocol |
| ------------------- | ------------------ | ---- | -------- |
| OctoXLabs connector | {tenant}.utmost.co | 443  | HTTPS    |

### Required permissions

The source does not list specific permissions. Use an account that can read the data listed under Fields fetched.

## Create credentials in Beeline Professional Edition Connect

{% stepper %}
{% step %}

### Get the client credentials

The OAuth2 client is configured through the Beeline Professional Edition Enterprise Application. Your system administrator sets it up. Ask for the **Client ID** and **Client Secret**.
{% endstep %}

{% step %}

### Find the tenant

Use only the subdomain of your tenant URL. For `https://mycompany.utmost.co` enter `mycompany`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                     |
| ------------- | -------- | ------- | ------- | --------------------------------------------------------------- |
| Tenant        | Yes      | String  |         | Tenant subdomain. The base URL is `https://{tenant}.utmost.co`. |
| Client ID     | Yes      | String  |         | OAuth2 client ID.                                               |
| Client Secret | Yes      | String  |         | OAuth2 client secret.                                           |
| HTTPS Proxy   | No       | String  |         | Proxy address, for example `proxy.company.com:8080`.            |
| Timeout       | No       | Integer | 30      | Seconds to wait for API responses.                              |

## Troubleshooting

| Error message                                                 | Cause                                                                                                                                  | Fix                                                                                                  |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Connection Test Failed: 'access\_token' not found in response | The token endpoint answered without an access token.                                                                                   | Check the tenant, Client ID and Client Secret.                                                       |
| Failed to parse XML response:                                 | The users response is not valid XML.                                                                                                   | Check the tenant value and the proxy.                                                                |
| Empty response received from                                  | The users endpoint returned an empty body, so paging stopped.                                                                          | Check the permissions of the OAuth client.                                                           |
| Status Code: `, URL, Method`                                  | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.4.0.
{% endhint %}
