> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.froonze.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# X/Twitter API key pair

Log into **X** and go to the **X/Twitter App developer portal** at [https://developer.twitter.com/en/portal/projects-and-app](https://developer.twitter.com/en/portal/projects-and-app). If you don't have a Developer account, you need to set one up (don't worry, the basic plan is free).

To create a new Developer account, select the **Free** plan, then click **Sign Up for Free Account.** After this, complete the description with something simple like "We will use the API to enable our customers to log in to our e-commerce shop using their X's credentials", tick the boxes below, then click **Submit**.

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/zbptkcabc_1ea06s4.png =1000xauto)

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/crwegdxfvh_xukq1f.png =1000xauto)

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/an5g52krsy_1jqczvx.png =1000xauto)

After that, or if you already have a developer account, you'll enter the **Developer Portal:** https://developer.twitter.com/en/portal/projects-and-app

In the left side menu, below **Projects & Apps**, click on **Overview**. 

On the right side, click **Add Project** button to start a new project.

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/6km5vdhdrq_r9f3lo.png =1000xauto)

Then you go through a quick set-up to set up some details of the project and the app

*   First choose any project name. Click **Next**

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/bsnimt7i5_1xajpvp.png =1000xauto)

*   As **Use Case**, choose **Building tools for businesses**

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/zy2kj2j1ep_b29a9w.png =1000xauto)

*   Enter a short **Project Description** of your choice

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/7mc5hhtqt_1r09q12.png =1000xauto)

*   Then you set up the **App Name** that your customers will be able to see, so you may want to name it as your shop (if you already have a Project, you may only need to click Add App in the Overview or Project panel to get here)

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/h461zxj6vf_j2yvba.png =1000xauto)

*   Next, in **Keys & Tokens**, copy the keys. **API key** and **API key Secret** can be entered already in our settings or later on. They would be **App ID** and **App Secret** respectively. Then continue to the next step.

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/kkgvmadrm_a7tizq.png =1000xauto)

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/a9h5wc3oz_1bmpmpo.jpg =1000xauto)

After the app has been created, click on the app on the left-hand sidebar, then on **Edit** on the right

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/j6r0ffinfo_v4ipn.png =1000xauto)

You can add your logo and an optional description here, then click on **Save**

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/quwi00vh2c_1mgntyn.png =1000xauto)

Back on the app panel, scroll down to **User Authentication Settings** and click its **Set Up** button

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/11vvel2dr4_1w14708.png =1000xauto)

Finish the set up this way:

*   App permissions: **Read**
*   Type of app: **Web app, Automated App or Bot**
*   In App Info, add our **Redirect URL**: [https://app.froonze.com/social\_logins/twitter/callback](https://app.froonze.com/social_logins/twitter/callback)
*   In App Info, add your **Website URL** and also your **Privacy Policy** and **Terms of Service** in the respective fields
*   Click on **Save**

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/0jyprs8-e_1yj5sne.png =1000xauto)

You may be presented now with the **OAuth 2.0 Client ID and Client Secret**, that you can copy apart but you don't need to save into our Social Login settings (since we already saved the **API** and the **API Secret** keys in the previous step). Just go ahead and check everything's working properly on the site.  If you missed saving your keys you'll need to generate new ones in **App > Keys and tokens**

![](https://storage.crisp.chat/users/upload-1/website/-/8/7/3/1/873182aab5747000/ey7dw-9xl_1wqylbv.png =1000xauto)