useWorkspace.AI
Sign InGet Started

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

Last updated: January 13, 2025
10 min read read

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

  1. After logging in, you'll see the workspace dashboard
  2. Click the "Create Workspace" button
  3. Name it "My First Workspace" or any name you prefer
  4. 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

  1. Inside your workspace, click "New Flow" or the "+" button
  2. Name your flowchart "User Login Flow"
  3. Optionally add a description: "A simple login process flowchart"
  4. 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

  1. Look at the left sidebar (shape palette)
  2. Find the "Start/End" shape (it looks like a rounded rectangle)
  3. Click and drag it onto the canvas
  4. Position it near the top-center of your canvas
  5. Double-click the shape to edit the label
  6. 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

  1. From the shape palette, drag a "Process" shape (rectangle) onto the canvas below your Start shape
  2. Double-click to edit the label
  3. Type "Display Login Form" and press Enter
  4. Add another Process shape below it
  5. Label it "User Enters Credentials"
  6. Add one more Process shape
  7. 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

  1. Drag a "Decision" shape from the palette (diamond shape)
  2. Place it below the "Validate Credentials" process
  3. Double-click to edit
  4. Type "Valid Credentials?" as the label
  5. 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

  1. Add a Process shape to the right of the decision
  2. Label it "Show Error Message"
  3. Add a Start/End shape to the left of the decision
  4. Label it "Login Success"
  5. Add another Start/End shape below the error message
  6. 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

  1. Hover over the "Start" shape until you see small connection points (handles)
  2. Click and drag from the bottom handle of "Start"
  3. Release over the "Display Login Form" shape
  4. 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

  1. Click on the connection line from "Valid Credentials?" to "Login Success"
  2. In the right panel (Inspector), look for the label field
  3. Type "Yes" or "True"
  4. Click on the connection to "Show Error Message"
  5. 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

  1. Press Cmd+/ (Mac) or Ctrl+/ (Windows) to focus the prompt bar
  2. Type: "add a process for logging the failed login attempt after the error message"
  3. Press Enter
  4. 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

  1. Click and drag shapes to adjust spacing and alignment
  2. Use the grid (16px snap) to keep things aligned
  3. 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)
  4. 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

  1. Look for the save indicator in the top bar
  2. If you see "Saved" or a checkmark, your work is preserved
  3. You can also press Cmd+S (Mac) or Ctrl+S (Windows) to manually save
  4. 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

  1. Click the "Export" button in the top toolbar
  2. 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
  3. 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:

  1. Learn Best Practices - Read our Best Practices Guide to create professional, ISO 5807 compliant flowcharts
  2. Explore Templates - Check out our Template Library to jumpstart common flowchart types
  3. Business Processes - Try creating a more complex Business Process Flowchart
  4. Master AI Features - Dive deeper into AI-Powered Editing to work faster
  5. Collaborate - Upgrade to Pro to invite team members and collaborate in real-time

Related Documentation


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!