# Twitter API keys

This article describes how you can obtain a Twitter API key for your AppMachine app. This key allows you to make authorized requests for data. An API key can only be used for one app. \
\
In this tutorial we assume that you either have a basic Twitter account without access to the development environment, or no Twitter account at all.

## Create your keys

1\. Go to <https://developer.twitter.com/en/apps> and log in with your twitter account. \
\&#xNAN;*If you don't have a Twitter account, create one at* [*https://twitter.com/signup*](https://twitter.com/signup) *- After logging in, you can click the "Create an App" button on the top of the screen:*\
![](https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80113851853/original/z3Y-eglMwRevUqY8-38ff0WbJX2o7MLinw.png?1655377635)

2\. Accept the initial terms and click **Apply**.\
![](https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80113852034/original/iosTIrx74vanu7PWc5xwX9j6wTd9_mpXTg.png?1655377661)&#x20;

Fill in the requested information about you and the purpose of your app and click **Next**.&#x20;

<img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80113852425/original/JOK2fZkEizPsmugcO_CmCc17ZoeyRO4uOw.png?1655377708" alt="" data-size="original">\
4\. Accept the Developer agreement & policy.

![](https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80113853311/original/3oY63KZT1LJQLb2kCZY79Ls7q6nyk-VhjA.png?1655377826)

5\. **Verify** your email address now and **continue**.&#x20;

6\. Enter a **name** for your app and click **Get keys**

7\. Once you've generated your keys, store them somewhere safe. Twitter advises you to treat these keys as passwords.&#x20;

8\. Go to [https://design.appmachine.com](https://design.appmachine.com/) and log into your AppMachine account.

9\. Click **Publish**&#x20;

10\. Click **Manage** > **Integrations** in the left side navigation bar\
11\. Scroll down to the Twitter section and fill in your API Key and API Key Secret:&#x20;

![](https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80115763073/original/L7V4rVhnKk8HLS5gcIZ8Fi1NU7DWYZejLA.png?1655933923)

12\. **Save** it and you're done!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmachine.com/app-details/twitter-api-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
