| name | apollo-install-auth |
| description | Install and configure Apollo.io API authentication.
Use when setting up a new Apollo integration, configuring API keys,
or initializing Apollo client in your project.
Trigger with phrases like "install apollo", "setup apollo api",
"apollo authentication", "configure apollo api key".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep |
| version | 1.13.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","apollo","api","authentication"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Apollo Install & Auth
Overview
Set up Apollo.io API client and configure authentication credentials. Apollo uses the x-api-key HTTP header for authentication against the base URL https://api.apollo.io/api/v1/. There is no official SDK — all integrations use the REST API directly.
Prerequisites
- Node.js 18+ or Python 3.10+
- Package manager (npm, pnpm, or pip)
- Apollo.io account with API access (Basic plan or above)
- API key from Apollo dashboard (Settings > Integrations > API Keys)
Instructions
Step 1: Install HTTP Client
set -euo pipefail
npm install axios dotenv
pip install requests python-dotenv
Step 2: Configure API Key
Apollo supports two API key types:
- Master API key — full access to all endpoints (required for contacts, sequences, deals)
- Standard API key — limited to search and enrichment only
echo 'APOLLO_API_KEY=your-api-key-here' >> .env
echo '.env' >> .gitignore
Step 3: Create Apollo Client (TypeScript)
import axios, { AxiosInstance } from 'axios';
import dotenv from 'dotenv';
dotenv.config();
const BASE_URL = 'https://api.apollo.io/api/v1';
export function createApolloClient(apiKey?: string): AxiosInstance {
key = apiKey ?? process..;
(!key) ();
axios.({
: ,
: {
: ,
: ,
: key,
},
: ,
});
}
apolloClient = ();