Jump to: Setup | PAT Requirements | Rate Limits | Attaching Frames | Task Structure | Templates
Setup
Generate a Figma Personal Access Token (PAT) with the following permissions: Filesfile_content:read- Read the contents of and render images from fileslibrary_assets:read- Read data about individual components and styleslibrary_content:read- Read components and styles published from individual filesfile_dev_resources:read- Read and list dev resources in accessible files
current_user:read- Used to validate the token
Other file permissions (such as
file_comments:read, file_comments:write, file_metadata:read, file_versions:read) are not required for Blitzy integration.- Verify token permissions before connecting to Blitzy
- Share the integration with your team after initial setup so others can leverage the same connection
PAT Requirements
Only one Personal Access Token is needed per Figma account. That single PAT is shared by your entire team and by Blitzy for code generation. Seat requirement - The PAT must be generated from an account with a Dev or Full seat. View and Collaborator seats have insufficient API access for code generation workflows.Rate Limits
Figma enforces per-seat, per-plan rate limits on API endpoints. Blitzy primarily uses Tier 1 endpoints (file content and image rendering), which have the following limits:| Seat type | Starter | Professional | Organization | Enterprise |
|---|---|---|---|---|
| View, Collaborator | 6/month | 6/month | 6/month | 6/month |
| Dev, Full | 10/min | 15/min | 20/min | Not published |
- Coordinate with your team to prevent multiple simultaneous jobs using the same token
- Even with paid plans, avoid running multiple Blitzy jobs concurrently with the same Figma token
Attaching Figma Frames
Always attach frames using Blitzy’s Figma button with the frame URL and description. Keep Figma information in the attachments rather than describing it in your prompt text so the system processes visual context optimally. Be specific and granular with frame selection:- If building a component within a larger frame, select and attach only that specific component’s frame
- Include the broader frame as an additional attachment only if positioning context is critical
- Attach each screen as a separate Figma frame when working across multiple screens
Optimal Task Structure
Multiple dense screens can exceed the agent’s effective context window. Break projects into smaller, focused tasks with targeted frame attachments for better results. Structure work incrementally rather than attempting entire multi-screen implementations at once.Prompt Templates
Ready-to-use prompts for common Figma-to-code scenarios - single screens, responsive layouts, user flows, component variants, and more.Figma to Code Templates
Six copy-paste prompts matched to different design input types