> ## Documentation Index
> Fetch the complete documentation index at: https://plai-a079b342.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication Overview

> Learn how to connect your ads accounts (Facebook, Linkedin, etc.) to our platform for quick and secure access. This page covers supported providers and the simple steps to link your account.

### Connect Facebook or Linkedin Account

<Steps>
  <Step title="First Step">
    Create a new user profile if one does not already exist, including your full name and email address.

    <Card title="Click to Create new profile" icon="link" href="/api-reference/endpoint/auth/create_user" horizontal />
  </Step>

  <Step title="Second Step">
    Link your Facebook or Linkedin Account, with our platform

    <Card title="Click to Generate Link" icon="link" href="/api-reference/endpoint/auth/create_advert" horizontal />

    To connect a ads account, set the platform parameter accordingly:

    * For Facebook or Instagram, set `platform = FACEBOOK`. This will allow you to connect your Facebook Page, Instagram Page, or Ads Account to our platform.

          <img src="https://mintcdn.com/plai-a079b342/XXDMUioFJbCBjExn/images/auth_fb.png?fit=max&auto=format&n=XXDMUioFJbCBjExn&q=85&s=5f3023e60ba8044196bb2f87b8fc7a8c" alt="title" width="1328" height="898" data-path="images/auth_fb.png" />

    * For LinkedIn, set `platform = LINKEDIN`. This enables you to connect your LinkedIn Page or Ads Account.

    * For Google, set `platform = GOOGLE`. This enables you to connect your Google Page or Ads Account.
  </Step>
</Steps>
