Getting Started Guide

Setup DevHours

Follow these simple steps to start tracking your coding time

1
Create an Account
First, you need to create a DevHours account to get your unique API key.
2
Install VS Code Extension
Install the DevHours extension from the VS Code Marketplace.
3
Configure Your API Key
After registering, you'll receive an API key. Configure it in VS Code:
  1. 1
    Press Cmd/Ctrl + Shift + P
  2. 2
    Type "DevHours: Set API Key"
  3. 3
    Paste your API key and press Enter
4
Start Coding!
That's it! Start coding and your activity will be automatically tracked. Check the leaderboard to see your ranking and compete with other developers.
🔧 Troubleshooting
Not seeing your activity on the leaderboard? Try these steps:
  1. 1

    Verify API Key

    Open Command Palette (Cmd/Ctrl+Shift+P) → Type DevHours: Set API Key

  2. 2

    Set API URL

    In VS Code Command Palette, type DevHours: Set API URL and enter:

    https://your-domain.com/api/v1

    ⚠️ This is required! The extension needs to know where to send data.

  3. 3

    Restart VS Code

    Completely quit and restart VS Code for changes to take effect

  4. 4

    Start Coding

    Edit files in VS Code - heartbeats are sent automatically every ~2 minutes

  5. 5

    Check Status Bar

    Look for the "DevHours" icon in the bottom right of VS Code - it should show your coding time

Need Help?
If you're having issues or have questions, we're here to help!