How can I add Signature Pad to my Rails App?

I’m trying to figure out how to add a signature pad field (from: https://github.com/szimek/signature_pad) in my Rails app but I have no idea how to implement it for MVC file structure in a Rails app. I don’t even want to use a rails form, just html for this particular use case but I just CANNOT get the JS to work and it’s incredibly frustrating.

I don’t understand the documentation after the installation process via yarn. If anyone can help, I’d really appreciate it.