Follow directions at GoogleCloudPlatform/govanityurls for your vanity.yaml configuration file. Next, run make init which will use up to guide you through getting your up project setup.
Why the hard-fork?
govanityurls contains only a main package so it can not be imported.
TODO
Use S3 to store config yaml, have server pull it down and cache somewhere.