2023-06-01 00:54:05 +00:00
|
|
|
# Figma
|
|
|
|
|
|
|
|
>[Figma](https://www.figma.com/) is a collaborative web application for interface design.
|
|
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
|
|
|
|
The Figma API requires an `access token`, `node_ids`, and a `file key`.
|
|
|
|
|
|
|
|
The `file key` can be pulled from the URL. https://www.figma.com/file/{filekey}/sampleFilename
|
|
|
|
|
|
|
|
`Node IDs` are also available in the URL. Click on anything and look for the '?node-id={node_id}' param.
|
|
|
|
|
|
|
|
`Access token` [instructions](https://help.figma.com/hc/en-us/articles/8085703771159-Manage-personal-access-tokens).
|
|
|
|
|
|
|
|
## Document Loader
|
|
|
|
|
2023-06-16 18:52:56 +00:00
|
|
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/figma.html).
|
2023-06-01 00:54:05 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain.document_loaders import FigmaFileLoader
|
|
|
|
```
|