| name | anima-install-auth |
| description | Install the Anima SDK and configure authentication for Figma-to-code generation.
Use when setting up design-to-code automation, configuring Figma token access,
or initializing the @animaapp/anima-sdk for server-side code generation.
Trigger: "install anima", "setup anima", "anima auth", "anima figma token".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Grep |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","design","figma","anima","code-generation"] |
| compatibility | Designed for Claude Code |
Anima Install & Auth
Overview
Install @animaapp/anima-sdk and configure authentication tokens. Anima converts Figma designs into production-ready React, Vue, or HTML code with Tailwind, MUI, AntD, or shadcn styling. The SDK runs server-side only.
Prerequisites
- Node.js 18+ (SDK is server-side only)
- Figma account with API access
- Anima API token (request at animaapp.com)
- Figma Personal Access Token
Instructions
Step 1: Install the Anima SDK
npm install @animaapp/anima-sdk
Step 2: Get Your Tokens
cat > .env << 'EOF'
ANIMA_TOKEN=your-anima-api-token
FIGMA_TOKEN=your-figma-personal-access-token
EOF
echo ".env" >> .gitignore
chmod 600 .env
Step 3: Initialize and Verify
import { Anima } from '@animaapp/anima-sdk';
const anima = new Anima({
auth: {
token: process.env.ANIMA_TOKEN!,
},
});
async function verifySetup() {
try {
{ files } = anima.({
: ,
: process..!,
: [],
: {
: ,
: ,
: ,
},
});
.();
( file files) {
.();
}
;
} (error) {
.(, error);
;
}
}
();