Where to place "package.config" or "package.options?

I got a question regarding the configuration of packages:

Some instructions of packages I am using describe the possibility to configure packages, e.g. Socialbuttons.configure(…) or Meteor.spinner.opftions…

Where do I need to places these commands in my code? I either get message like “package is not defined” or no change of my app’s behaviour.

Thanks in advance!