Skip to main content
Figma integration enables design-to-code workflows, allowing Blitzy to reference your design files during code generation.

Setup

Generate a Figma Personal Access Token (PAT) with the following permissions: Files
  • file_content:read - Read the contents of and render images from files
  • library_assets:read - Read data about individual components and styles
  • library_content:read - Read components and styles published from individual files
  • file_dev_resources:read - Read and list dev resources in accessible files
Current User
  • 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.
After configuring your token:
  • 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.
Your team does not need individual PATs. One Dev or Full seat holder generates the token, and the entire team (and Blitzy) uses that single token for all design-to-code 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 typeStarterProfessionalOrganizationEnterprise
View, Collaborator6/month6/month6/month6/month
Dev, Full10/min15/min20/minNot published
View and Collaborator seats are capped at 6 Tier 1 calls per month regardless of plan. This is completely insufficient for code generation or frame validation. Your PAT must come from a Dev or Full seat.
Avoiding rate limit failures:
  • 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