User blog comment:Koishi-Komeiji/Alina Gray/@comment-28818979-20190906134249/@comment-38196594-20190906134850

Check this page out. Everything you need to know when creating fan servant is here.

And you can also check the source code of any existing servant page to learn how it is done.