Then you should at least look at the docs (v2 docs have moved/archived)
or you might see how others do it