Installation
Basic Implementation
1. Initialize Flatfile
Use theinitializeFlatfile
composable in your Vue component:
2. Get Your Credentials
publishableKey: Get from Platform Dashboard → Developer Settings For authentication and security guidance, see Advanced Configuration.Complete Example
The example below will open an empty space. To create the sheet your users
should land on, you’ll want to create a workbook as shown further down this
page.
Options API Syntax
If you prefer the Options API:Creating New Spaces
To create a new Space each time:- Add a
workbook
configuration object. Read more about workbooks here. - Optionally deploy a
listener
for custom data processing. Your listener will contain your validations and transformations
Reusing Existing Spaces
When reusing existing Spaces, the proper pattern is to let your server handle Space creation and management:TypeScript Support
The Vue SDK supports TypeScript:Styling
Add custom styles to integrate with your Vue application:Configuration Options
For complete configuration options including authentication, theming, and advanced settings, see Advanced Configuration.Next Steps
- Authentication: Set up secure authentication with Advanced Configuration
- Server Setup: Configure backend data processing with Server Setup
- Styling: Customize the embedded experience in your Platform Dashboard Space settings
- API Integration: Use Flatfile API to retrieve processed data
Quick Links
Advanced Configuration
Authentication, theming, and advanced options
Server Setup
Backend integration and data processing