> ## 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.

# HackerEarth

> Access coding challenges and assessment tools

HackerEarth API allows you to integrate coding assessments, challenges, and programming contests into your applications.

## Overview

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

  <Card title="Get API Key" icon="key">
    Generate your HackerEarth 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 HackerEarth Website">
    Go to [https://www.hackerearth.com/for-developers/](https://www.hackerearth.com/for-developers/) and click "Get Started"

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/hackerearth/homepage.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=a1f3543d3616a29edba476c96a8f5aae" style={{ borderRadius: '0.5rem', width: '624px', height: '303px' }} width="2512" height="1226" data-path="images/hackerearth/homepage.png" />
  </Step>

  <Step title="Register for an Account">
    * Fill in your details
    * Choose account type (Business/Developer)
    * Complete verification process
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access Developer Dashboard">
    1. Log in to your HackerEarth account
    2. Navigate to the API section

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/hackerearth/dashboard.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=d14eccffff4197e43622fb06789cccb8" style={{ borderRadius: '0.5rem' }} width="2596" height="1370" data-path="images/hackerearth/dashboard.png" />
  </Step>

  <Step title="Create API Key">
    1. Click "Generate New Key"
    2. Select the required permissions

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/hackerearth/apigen.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=b3aec71e6b310888a01b868d9447948c" style={{ borderRadius: '0.5rem' }} width="1158" height="302" data-path="images/hackerearth/apigen.png" />
  </Step>

  <Step title="Copy Your API Key">
    1. Copy the generated API key

    <Warning>
      Keep your API key secure - it grants access to your HackerEarth account and 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 "HackerEarth" from the menu
  </Step>

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

    <Tip>
      Need a new key? Generate one in your HackerEarth dashboard.
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to manage coding assessments.

    Some examples:

    * `Set up a coding challenge using /HackerEarth`
    * `Evaluate code submissions with /HackerEarth`
    * `Build an assessment platform using /HackerEarth`

    <Warning>
      The API has rate limits. If something fails, wait a moment and try again.
    </Warning>

    Example prompt for optimization:

    ```
    When using /HackerEarth, save the assessment results so I can review them later
    ```
  </Step>
</Steps>

<Tip>
  Your HackerEarth integration is now ready! Use the `/HackerEarth` command in chat to manage coding assessments.
</Tip>
