Guide to use amp components in wordpress

I am looking for a beginners guide to add amp components to specific location using woocommerce hooks add action and add filter hooks. And want to use to wordpress editor to add media to components. How can i use it. I have learnt so far that i have to add components as custom post types. I just need a detailed understanding. I am a complete newbie