The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
Inside Obsidian, click Settings → Community Plugins → Browse.
Search for wakatime, click on the WakaTime plugin.
Click the Install button.
Click the Enable button.
Enter your API Key, then press enter.
Use Obsidian like normal and your stats will automatically show on your WakaTime Dashboard.