Create Your First Flowchart
Step-by-step guide for beginners to create a simple login flow using DiagramKit.AI's visual editor and AI assistance
Create Your First Flowchart
Welcome to DiagramKit.AI! This tutorial will guide you through creating your first flowchart from scratch. In just 5-10 minutes, you'll learn how to create a simple user login flow using both manual editing and AI assistance.
What You'll Learn
- How to create your first workspace and flowchart
- Using the shape palette to add flowchart elements
- Connecting shapes to show process flow
- Editing labels and customizing nodes
- Using the AI prompt bar for quick modifications
- Saving and exporting your flowchart
Prerequisites
- A DiagramKit.AI account (Free plan works perfectly)
- A modern web browser (Chrome, Firefox, Safari, or Edge)
- No prior flowcharting experience needed
Time Estimate
5-10 minutes
Step 1: Create Your Workspace
When you first log in to DiagramKit.AI, you'll need a workspace to organize your flowcharts.
Instructions
- After logging in, you'll see the workspace dashboard
- Click the "Create Workspace" button
- Name it "My First Workspace" or any name you prefer
- Click "Create"
Expected Result
You'll be taken to your new workspace where you can create flowcharts.
Free Plan Note: The Free plan includes 1 workspace and up to 3 flowcharts. This is perfect for learning and personal projects.
Step 2: Create Your First Flowchart
Now let's create a flowchart to work with.
Instructions
- Inside your workspace, click "New Flow" or the "+" button
- Name your flowchart "User Login Flow"
- Optionally add a description: "A simple login process flowchart"
- Click "Create"
Expected Result
The flowchart editor opens with a blank canvas, showing:
- Left sidebar: Shape palette with available flowchart elements
- Center canvas: Your empty flowchart workspace
- Right panel: Inspector for viewing shape properties
- Bottom bar: AI prompt bar for natural language commands
Step 3: Add Your First Shape (Start)
Every flowchart begins with a Start/End shape (represented as a rounded rectangle or stadium shape).
Instructions
- Look at the left sidebar (shape palette)
- Find the "Start/End" shape (it looks like a rounded rectangle)
- Click and drag it onto the canvas
- Position it near the top-center of your canvas
- Double-click the shape to edit the label
- Type "Start" and press Enter
Expected Result
You now have a Start shape on your canvas with the label "Start" inside it.
Quick Tip: You can also use the AI prompt bar! Press Cmd+/ (Mac) or Ctrl+/ (Windows) and type "add a start node" to add a Start shape instantly.
Step 4: Add Process Steps
Let's add the main steps of our login process.
Instructions
- From the shape palette, drag a "Process" shape (rectangle) onto the canvas below your Start shape
- Double-click to edit the label
- Type "Display Login Form" and press Enter
- Add another Process shape below it
- Label it "User Enters Credentials"
- Add one more Process shape
- Label it "Validate Credentials"
Expected Result
You now have three process boxes stacked vertically, representing the sequential steps in your login flow.
Step 5: Add a Decision Point
Login processes need to check if credentials are valid. We'll use a Decision shape (diamond) for this.
Instructions
- Drag a "Decision" shape from the palette (diamond shape)
- Place it below the "Validate Credentials" process
- Double-click to edit
- Type "Valid Credentials?" as the label
- Press Enter
Expected Result
A diamond-shaped decision node asking "Valid Credentials?" is now on your canvas.
Decision Shape Best Practice: Always phrase decision labels as yes/no questions. This makes the flowchart clearer for readers.
Step 6: Add Outcome Shapes
Now we need to show what happens based on the decision.
Instructions
- Add a Process shape to the right of the decision
- Label it "Show Error Message"
- Add a Start/End shape to the left of the decision
- Label it "Login Success"
- Add another Start/End shape below the error message
- Label it "End"
Expected Result
You have two possible paths: one for successful login and one for errors.
Step 7: Connect the Shapes
Now we'll create connections (edges) between shapes to show the flow of the process.
Instructions
- Hover over the "Start" shape until you see small connection points (handles)
- Click and drag from the bottom handle of "Start"
- Release over the "Display Login Form" shape
- Repeat this process to connect:
- Display Login Form → User Enters Credentials
- User Enters Credentials → Validate Credentials
- Validate Credentials → Valid Credentials? (decision)
- Valid Credentials? → Login Success (left path)
- Valid Credentials? → Show Error Message (right path)
- Show Error Message → End
 
Expected Result
All shapes are now connected with arrows showing the flow of the login process.
Pro Tip: You can click on any connection line and drag it to adjust its path. This helps create cleaner, more readable flowcharts.
Step 8: Label Your Decision Paths
Decision paths should be labeled to indicate which outcome they represent.
Instructions
- Click on the connection line from "Valid Credentials?" to "Login Success"
- In the right panel (Inspector), look for the label field
- Type "Yes" or "True"
- Click on the connection to "Show Error Message"
- Label it "No" or "False"
Expected Result
Your decision paths are now clearly labeled, making it obvious which path represents success and which represents failure.
Step 9: Use AI to Enhance Your Flowchart
Let's use the AI prompt bar to quickly add a feature.
Instructions
- Press Cmd+/ (Mac) or Ctrl+/ (Windows) to focus the prompt bar
- Type: "add a process for logging the failed login attempt after the error message"
- Press Enter
- Watch as the AI adds a new process shape and connects it appropriately
Expected Result
The AI adds a "Log Failed Login" process between the error message and the end, demonstrating how AI can accelerate flowchart creation.
AI Power User Tip: The AI understands natural language. Try commands like "add a database query", "connect these nodes", or "make the decision diamond larger".
Step 10: Adjust Layout and Styling
Let's make your flowchart look professional.
Instructions
- Click and drag shapes to adjust spacing and alignment
- Use the grid (16px snap) to keep things aligned
- Select any shape and use the Inspector panel to:
- Lock shapes in place (prevents accidental movement)
- Adjust colors (optional, shapes use ISO 5807 compliant colors by default)
 
- Zoom in/out using the controls or mouse wheel to get a good view
Expected Result
Your flowchart is now neatly organized with consistent spacing and professional appearance.
Step 11: Save Your Work
DiagramKit.AI auto-saves your work, but it's good practice to verify.
Instructions
- Look for the save indicator in the top bar
- If you see "Saved" or a checkmark, your work is preserved
- You can also press Cmd+S (Mac) or Ctrl+S (Windows) to manually save
- Navigate back to your workspace to see your flowchart listed
Expected Result
Your flowchart is safely saved and appears in your workspace flow library.
Step 12: Export Your Flowchart
Finally, let's export your flowchart to share or use elsewhere.
Instructions
- Click the "Export" button in the top toolbar
- Choose your preferred format:
- PNG - Best for presentations and documents
- SVG - Best for scalable graphics and web use
- PDF - Best for printing and formal documentation
- JSON - Best for importing into other tools
 
- Click "Download"
Expected Result
Your flowchart downloads in your chosen format, ready to share with colleagues or include in documentation.
Final Result
Congratulations! You've created a complete user login flow flowchart that includes:
- A clear start and end point
- Sequential process steps
- A decision point with labeled outcomes
- Proper connections showing process flow
- Professional styling and layout
Your flowchart should look something like this:
Start
  ↓
Display Login Form
  ↓
User Enters Credentials
  ↓
Validate Credentials
  ↓
Valid Credentials?
  ├─→ Yes → Login Success
  └─→ No → Show Error Message → Log Failed Login → End
Common Issues
Problem: Shapes Won't Connect
Solution: Make sure you're dragging from one of the connection handles (small circles that appear when hovering over a shape). If a shape is locked, unlock it first in the Inspector panel.
Problem: Can't Edit Labels
Solution: Double-click the shape to enter edit mode. If that doesn't work, make sure the shape isn't locked. Check the Inspector panel on the right.
Problem: AI Prompt Not Working
Solution: Ensure you're pressing the correct keyboard shortcut (Cmd+/ on Mac, Ctrl+/ on Windows). On the Free plan, you have 10 AI requests per month, so verify you haven't reached the limit.
Problem: Flowchart Looks Cluttered
Solution: Use the zoom controls to get a better view. Drag shapes to add more spacing. Use the 16px grid snap feature to align shapes consistently.
Pro Tips
Keyboard Shortcuts: Learn these shortcuts to work faster:
- Cmd/Ctrl + Z - Undo
- Cmd/Ctrl + Y - Redo
- Delete - Remove selected shape
- Cmd/Ctrl + / - Open AI prompt bar
- Cmd/Ctrl + S - Save
AI Prompt Examples: Try these AI commands to speed up your work:
- "add a database node connected to validate credentials"
- "create a decision for checking user role"
- "add a process for sending email notification"
- "connect start to login form"
Shape Selection: Click a shape to select it, then use the Inspector panel to:
- View and edit the label
- Lock/unlock the shape
- See connection information
- Copy shape properties
Next Steps
Now that you've created your first flowchart, here's what to explore next:
- Learn Best Practices - Read our Best Practices Guide to create professional, ISO 5807 compliant flowcharts
- Explore Templates - Check out our Template Library to jumpstart common flowchart types
- Business Processes - Try creating a more complex Business Process Flowchart
- Master AI Features - Dive deeper into AI-Powered Editing to work faster
- Collaborate - Upgrade to Pro to invite team members and collaborate in real-time
Related Documentation
- Quick Start Guide - Overview of DiagramKit.AI basics
- Shape Reference - Complete guide to all 19 flowchart shapes
- AI Editing Guide - Master natural language flowchart editing
- Keyboard Shortcuts - Full list of keyboard shortcuts
- Export Options - Detailed guide to all export formats
Congratulations on creating your first flowchart! You're now ready to tackle more complex diagrams and explore the full power of DiagramKit.AI. Happy diagramming!
