Build with Sanity MCP in Replit. Prizes up for grabs! Submit by June 14

Profile page of Knut Melvær

Knut's headline: Knut is a principal developer marketing manager at Sanity.io

Knut's email: knut@sanity.io
Knut's job title: Principal Developer Marketing Manager at Sanity.io
Knut's location: Norway
Knut's website: www.sanity.io
Joined: May 2017

Latest contributions

Article

Connecting LLMs to your CMS

Wire LLMs into Sanity Studio — covering RAG with GROQ, Agent Actions for agentic writes, Compute for event-driven automation, and MCP for direct agent access.

Knut Melvær
Blog post

Sanity TypeGen is now generally available

TypeGen generates exact TypeScript types from your schemas and queries. So AI tools stop guessing and developers stop debugging phantom fields.

First Published Timestamp Function

Featured contributionOfficial(made by Sanity team)

Automatically track when content was first published with a timestamp that sets once and never overwrites, providing reliable publication history for analytics and editorial workflows.

Knut Melvær
Go to First Published Timestamp Function

Automatically tag blog posts

Featured contributionOfficial(made by Sanity team)

AI-powered automatic tagging for Sanity blog posts that analyzes content to generate 3 relevant tags, maintaining consistency by reusing existing tags from your content library.

Go to Automatically tag blog posts
Article

Headless CMS Explained

Learn about headless Content Management Systems: what they are, how they work, and how they differ from traditional CMSes like WordPress.

Knut Melvær
Guide

Hierarchies, Graphs, and Navigation

Hierarchies are handy for organizing, but they can also fence you in. Learn how to build them, when to use them, and why you might want to treat navigation as a separate concern.

Breaks for Portable Text

How to add different types of “breaks” for Portable Text that can be translated to horizontal rules, “read more”, sections, chapters, and so on.

Knut Melvær
Go to Breaks for Portable Text

Podcast

Schemas for running a podcast backend on Sanity.io

Knut Melvær
Go to Podcast
Guide

Deciding on fields and relationships

Official(made by Sanity team)

How to work through tricky content questions and build structures that will stand the test of time.

Guide

How to Make Taxonomy Pages With Gatsby and Sanity.io

Official(made by Sanity team)

In this tutorial, we’ll cover how to make taxonomy pages with Gatsby with structured content from Sanity.io.

css-tricks.com
Knut Melvær
Guide

How to create a custom asset source plugin for Sanity Studio

Official(made by Sanity team)

In this tutorial, you will learn how to make a custom asset source plugin that uses the webcam to insert a photo in the Sanity Studio’s image field.

www.youtube.com
Knut Melvær
Guide

Using Sanity for image art direction

Official(made by Sanity team)

Five cool image tricks that you can achieve with Sanity

css-tricks.com
Knut Melvær
Guide

Recreating the CodePen Gutenberg Embed Block for Sanity.io

Official(made by Sanity team)

Learn how to create a custom CodePen block with a preview for Sanity Studio, inspired by Chris Coyier’s implementation for Wordpress’ Gutenberg editor.

css-tricks.com
Knut Melvær
Guide

How To Make A Speech Synthesis Editor

Official(made by Sanity team)

Learn how to make a What You Get Is What You Hear (WYGIWYH) editor for speech synthesis using Sanity.io’s editor for Portable Text.

www.smashingmagazine.com
Knut Melvær
Guide

Deploying Sanity Studio with Vercel

Official(made by Sanity team)

This guide will walk you through how to deploy Sanity Studio with Vercel in three simple steps.

vercel.com
Knut Melvær
Guide

How to configure schemas

Official(made by Sanity team)

A video on how to customize the schemas in a Sanity Studio

Knut Melvær
Tool

Mux input

Featured contribution

Upload videos to Mux directly from the studio.

Tool

Webamp

Studio v2

Run a Winamp port in your studio!

Knut Melvær
Tool

Podcast content schema

Studio v2

Podcast plugin for Sanity that creates schemas for podcasts and episodes with necessary iTunes data. Make as many podcasts with as many episodes as you want.

Knut Melvær

About Knut

Knut has written code for the web since the early 2000s. Knut has a background in the digital humanities and has worked in the intersection between user experience design and technology. He has also been a columnist, speaker, and university lecturer.

Knut joined Sanity in 2018 as their Head of Developer Relations, and has since grown the developer community, made educational content, and much more.

Knut cares a lot about making technology and programming understandable and accessible to anyone, not just developers.