YouTube subscribe button programmatically

I can’t find the YouTube subscribe button component in the documentation… I would like to know how to programmatically set the channel URL in the subscribe button component.