Quick Start Guide
This guide will walk you through creating your first EmberBlocks application. By the end, you’ll have a working app that displays data from your database.
Prerequisites
Section titled “Prerequisites”Before you begin, make sure you have:
- An EmberBlocks account (sign up at app.emberblocks.com)
- Access to a PostgreSQL database with at least one table
- Your database connection credentials (host, port, database name, username, password)
Step 1: Create a New App
Section titled “Step 1: Create a New App”- Log in to EmberBlocks and navigate to your dashboard
- Click the Create App button
- Enter your app details:
- Name: Give your app a descriptive name (e.g., “Customer Portal”)
- Description: Optional description of your app’s purpose
- Icon: Choose an icon from the icon library
- Theme Color: Select a primary color for your app
- Click Create to create your app
Your new app opens in the editor, ready for configuration.
Step 2: Connect Your Database
Section titled “Step 2: Connect Your Database”Before you can display data, you need to connect EmberBlocks to your PostgreSQL database.
- Navigate to the Data tab in the header
- Click Connections in the sidebar
- Click Add Connection
- Fill in your database credentials:
- Connection Name: A friendly name (e.g., “Production DB”)
- Host: Your database host address
- Port: Usually 5432 for PostgreSQL
- Database Name: The name of your database
- Username: Database user with read access
- Password: Database password
- SSL Mode: Choose based on your database configuration
- Click Test Connection to verify the credentials
- Click Save once the connection test passes
Step 3: Select Tables
Section titled “Step 3: Select Tables”With your database connected, select which tables to use in your app.
- In the Data tab, click Tables in the sidebar
- You’ll see a list of tables from your connected database
- Check the tables you want to use in your app
- For each table, you can:
- Set a display name
- Configure field visibility
- Mark fields as read-only
- Set default values
Step 4: Create Your First View
Section titled “Step 4: Create Your First View”Views are the pages of your app. Let’s create a view to display your data.
- Navigate to the Layout tab
- In the views sidebar, click + Create View
- Enter a name for your view (e.g., “Customers”)
- Choose an icon for the sidebar navigation
- Click Create
Your new view opens with an empty canvas.
Step 5: Add Components
Section titled “Step 5: Add Components”Now let’s add components to display your data.
Add a List Component
Section titled “Add a List Component”- In the component palette, find the List component
- Drag it onto the canvas
- The settings panel opens on the right
- Configure the List:
- Title: Enter a title (e.g., “Customer List”)
- Table: Select your data table
- Display Style: Choose table, list, kanban, or cards
- Fields: Select which columns to display
- Pagination: Enable if you have many rows
Add a Text Component
Section titled “Add a Text Component”- Drag a Text component above your List
- Configure it:
- Title: Enter a heading (e.g., “Welcome”)
- Content: Add descriptive text with markdown support
Add a Button Component
Section titled “Add a Button Component”- Drag a Button component to the canvas
- Configure it:
- Label: Enter button text (e.g., “Refresh”)
- Variant: Choose primary, secondary, outline, or ghost
- Action: Select an action to trigger on click
Step 6: Preview Your App
Section titled “Step 6: Preview Your App”Before publishing, preview your app to see how it looks to users.
- Click the Preview button in the header
- Interact with your app as a user would
- Test all components and actions
- Click Exit Preview to return to editing
Step 7: Invite Users
Section titled “Step 7: Invite Users”Add team members to your app:
- Navigate to the Users tab
- Click Add Member
- Enter their email address
- Select a role:
- Admin: Full access
- Editor: Can edit the app
- User: View-only access
- Click Invite
They’ll receive an email invitation to join your app.
Step 8: Publish Your App
Section titled “Step 8: Publish Your App”When you’re ready to make your app available:
- Click the Publish button in the header
- Add optional publish notes describing your changes
- Click Confirm
Your app is now live! Users with appropriate access can view the published version while you continue editing the draft.
Next Steps
Section titled “Next Steps”Congratulations! You’ve built your first EmberBlocks app. Here’s where to go next:
Learn More About Components
Section titled “Learn More About Components”- List Component - Advanced table, kanban, and card configurations
- Text Component - Markdown and dynamic content
- Button Component - Actions and confirmation dialogs
- Image Component - Display images dynamically
Master Formulas
Section titled “Master Formulas”Learn to create dynamic, data-driven applications with the Formula System.
Configure Actions
Section titled “Configure Actions”Set up Actions to enable CRUD operations, navigation, and more.
Manage Users
Section titled “Manage Users”Learn about User Management and custom roles.
Tips for Success
Section titled “Tips for Success”- Start simple - Build a basic version first, then add complexity
- Use preview mode - Test your app frequently during development
- Name things clearly - Use descriptive names for views, components, and actions
- Leverage formulas - Dynamic values make your app more powerful
- Iterate - Publishing creates versions, so you can always roll back
Need help? Check out the full documentation or reach out to our support team.