Conected Plugin with collection types

I have created a Plugin in which it consumes an API, but I need to know how I can make that plugin connect to the collection that I also create in the content-manager.