# How to Manage Social Accounts in Omnitron?

The Social Accounts feature in Omnitron enables integration with various social platforms, such as Google, Apple, Facebook, Turkcell and Akifast. This functionality allows users to authenticate and manage their social connections directly within the Omnitron panel, ensuring a streamlined and secure experience.

Before proceeding with the steps outlined in this guide, **ensure that the necessary configurations have been completed on the relevant platform (Developers Facebook, Developers Google, etc.)**. This guide will then walk you through accessing the panel, navigating the settings, and adding new social account providers to effectively configure and utilize the Social Accounts feature for your business needs.

## <mark style="color:red;">Step 1: Access to Omnitron​</mark> <a href="#step-1-access-to-omnitron" id="step-1-access-to-omnitron"></a>

* Get access to the Omnitron panel.
* Enter your Username and Password, and then click the **Sign In** button.\
  ![](https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2FKWFdWeLXxkbozdthMxrz%2Fimage.png?alt=media\&token=f0c65f84-c736-439f-8956-01c62c957fdb)

## <mark style="color:red;">Step 2: Navigate to Social Accounts Page​</mark> <a href="#step-2-navigate-to-social-accounts-page" id="step-2-navigate-to-social-accounts-page"></a>

* Follow the **Sales Channels > Sales Channels Settings** sidebar and click the **Social Accounts** page.<br>

  <figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2F2NINZf2z3CAcbmBQ2FZ9%2Fimage.png?alt=media&#x26;token=a016b589-23a2-43be-83f9-eb2ce7d9eecc" alt=""><figcaption></figcaption></figure>
* This page displays various social accounts, including Akifast and applications. It allows users to log in using platforms like Google, Akifast, or Facebook, among others.<br>

  <figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2FejOv2vrzIxcg3N6ycVaq%2Fimage.png?alt=media&#x26;token=52415f84-26ff-4561-9742-ad797c451b58" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">Step 3: Adding Social Account​</mark> <a href="#step-3-adding-social-account" id="step-3-adding-social-account"></a>

* To add a new social account, click the + New Social Account button. Complete the form by filling in the following fields:
  * **Provider:** Select a provider, such as Akifast, Facebook, etc.
  * **Name:** Enter the name for this social account.
  * **Client Id:** The unique client value for this social account.
  * **Secret:** The unique secret value for this social account.
  * **Key:** The unique key value for this social account.
  * **Site:** Select the site on which it is located.
  * **Certificate:** Optionally fill in this field for certificate usage.
* Once you have filled in the relevant fields, click the **Save** button.<br>

  <figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2FryxizWOzDA2nY6ND0eiW%2Fimage.png?alt=media&#x26;token=23973eda-6a85-481e-a2ab-b9059a8e48d2" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Important Note for Project Zero Integration**

To ensure the system functions correctly, it is essential to configure the `USE_X_FORWARDED_HOST` setting appropriately for different environments:

* **ACC and Project Zero Projects:** The `USE_X_FORWARDED_HOST = True` setting must be read from the environment variables. Ensure this configuration is correctly defined in the respective environment files.
* **Other Projects:** For all other projects, the `USE_X_FORWARDED_HOST = True` setting should be added to the `settings.py` file within the project.
  {% endhint %}
