Hi @sasiddiqui !
Actually, you just have to have AMP (with AMP Developer Tools enabled) and Custom Permalink installed.
In our case, we just have to add a new post, define a custom URL and save it.
This creates automatically a new URL in Custom Permalink.
If you try to preview the article, it will land on the homepage. Same if you publish the article and click on it.
Hope this helps ^^