> ## Documentation Index
> Fetch the complete documentation index at: https://www.anything.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# News & Headlines

> Access global news articles and headlines

News API provides access to breaking news headlines and historical articles from over 80,000 sources worldwide.

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for a News API account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your News API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit News API Website">
    Go to [newsapi.org](https://newsapi.org/) and click "Get API Key" in the top right corner

    <img src="https://mintcdn.com/create/VE4G9m6I567_bcO7/images/newsapi/homepage.png?fit=max&auto=format&n=VE4G9m6I567_bcO7&q=85&s=46378f93311e4cc7447bdea1e9420537" style={{ borderRadius: '0.5rem', width: '624px', height: '303px' }} width="2240" height="1064" data-path="images/newsapi/homepage.png" />
  </Step>

  <Step title="Register for an Account">
    * Fill in your name, email, and password
    * Select your usage purpose (personal/academic/business)
    * Accept the terms and conditions

    <img src="https://mintcdn.com/create/VE4G9m6I567_bcO7/images/newsapi/signup.png?fit=max&auto=format&n=VE4G9m6I567_bcO7&q=85&s=04ebb65ae27ee154641c2a197affaee9" style={{ borderRadius: '0.5rem' }} width="958" height="1398" data-path="images/newsapi/signup.png" />
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access Your Account">
    1. After registration, you'll be redirected to your account page
    2. Your API key will be displayed on the dashboard
  </Step>

  <Step title="Copy Your API Key">
    1. Copy the API key from your dashboard
    2. Keep this key secure for use in your applications

    <img src="https://mintcdn.com/create/VE4G9m6I567_bcO7/images/newsapi/apigen.png?fit=max&auto=format&n=VE4G9m6I567_bcO7&q=85&s=0930410f5aa62da10dc00ebc9352d549" style={{ borderRadius: '0.5rem' }} width="948" height="1268" data-path="images/newsapi/apigen.png" />

    <Warning>
      Keep your API key secure - it grants access to your News API quota
    </Warning>
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "News API" from the menu
  </Step>

  <Step title="Add your API key">
    1. Paste your News API key into the "NEWS\_API\_KEY" field

    <Tip>
      Need a new key? You can find it in your News API dashboard.
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to access news articles and headlines.

    Some examples:

    * `Get the latest technology news with /NewsAPI`
    * `Find articles about climate change using /NewsAPI`
    * `Create a news aggregator app with /NewsAPI`

    <Warning>
      Free tier has limitations (100 requests/day, no historical data) - consider upgrading for production use.
    </Warning>

    Example prompt for optimization:

    ```
    When using /NewsAPI, save the news articles so my app doesn't have to fetch them again
    ```
  </Step>
</Steps>

<Tip>
  Your News API integration is now ready! Use the `/NewsAPI` command in chat to access global news.
</Tip>
