There does need to be a plugin.xml that defines the service type for your mbean and which attributes are exposed as metrics. Once you have that, the auto-discovery plugin can be used to find multiple instances of a given mbean.
If your beans are of the same type, you don't need to enter anything in the UI. The short-story the docs attempt to tell:
1) OBJECT_NAME defines the pattern:
<property name="OBJECT_NAME" value="MyCompany:name=*"/>
2) service defines a config option for the 'name' attribute:
<config>
<option name="name" description="MBean name"/>
<config>
3) service enables auto-discovery:
<plugin type="autoinventory"/>