> ## 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 Medidata with Basic Auth (Multiple Companies) – StackOne Hub

> Link a Medidata account in the StackOne Hub using Basic Auth (Multiple Companies). End-user guide to authorize the integration and start using Medidata actions.

> [!WARNING]
>
> Requires a Rave user account with access to a Rave environment. Medidata grants integration access to Rave environments through [Developer Central](https://www.medidata.com/en/clinical-trial-services/developer-central/).

## Find your Rave URL

Your Rave URL is the address of your company's Rave site on `mdsol.com`. Medidata calls its first part the **Rave URL Name**.

**1. Copy the Rave URL name**

Take the **Rave URL Name** from the address of your Rave site. Copy only the **Rave URL Name**, such as `innovate`, across, not the full address.

<ul>
  <li>Format: `https://{rave-url-name}.mdsol.com`</li>
  <li>Example: if your Rave site is `https://innovate.mdsol.com`, your **Rave URL Name** is `innovate`</li>
</ul>

## Get the Rave account credentials

The connection uses a Rave web service account: a Rave user account that signs in directly to Rave, not an iMedidata account. Calls run with that user's rights and permissions in Rave.

**1. Copy the Rave login and password**

Get the **Rave User Login** and **Rave User password** of that account. If you only sign in to Rave through iMedidata, ask your Rave administrator for a Rave account the integration can use.

<ul>
  <li>Copy the **Rave User Login** across to **Username**.</li>
  <li>Copy the **Rave User password** across.</li>
</ul>

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