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

# Quickstart

> Learn how to start using the A1Base API

<Note>
  As we're in Alpha right now, you can only get your API key by booking an
  onboarding call at [https://cal.com/team/a1base/a1base-book-a-demo](https://cal.com/team/a1base/a1base-book-a-demo) or by
  contacting the founders at [pasha@a1base.com](mailto:pasha@a1base.com) or [pennie@a1base.com](mailto:pennie@a1base.com)
</Note>

## Getting Started

### 1. Install the A1Base CLI or webhook

<AccordionGroup>
  <Accordion icon="key" title="Get your API keys">
    To start using A1Base you need an API key and secret. You can get these by
    booking an onboarding call at [https://cal.com/team/a1base/a1base-book-a-demo](https://cal.com/team/a1base/a1base-book-a-demo) or
    contacting the founders at [pasha@a1base.com](mailto:pasha@a1base.com) or [pennie@a1base.com](mailto:pennie@a1base.com).
  </Accordion>

  <Accordion icon="rectangle-terminal" title="Set up your key variables">
    ```javascript theme={null}
    const API_KEY = YOUR_API_KEY; 
    const API_SECRET = YOUR_API_SECRET;
    const ACCOUNT_ID = YOUR_ACCOUNT_ID; 
    const FROM_NUMBER = YOUR_FROM_NUMBER; //e.g. +12345678900
    ```
  </Accordion>
</AccordionGroup>

### 2. Send your first message

<AccordionGroup>
  <Accordion icon="message-bot" title="Send your first message">
    ```bash theme={null}
    curl --location 'https://api.a1base.com/v1/messages/individual/{accountId}/send' \
    --header 'Content-Type: application/json' \
    --header 'X-API-Key: <api-key>' \
    --header 'X-API-Secret: <api-key>'
    --data '{
        "content": "Hello World!",
        "attachment_uri": "",
        "from": "+1222333444",      
        "to": "+1555666777", 
        "service": "whatsapp"
    }'
    ```
  </Accordion>

  <Accordion icon="rocket" title="Build your AI Agent logic around it">
    Now it's time to build your AI Agent logic around it! We just send the message and store
    it safely in our database, but you can build your logic around it.
  </Accordion>
</AccordionGroup>
