No setup necessary, just load the script.
Currently there's no configuration possible, so you'll have to edit the script file itself in order to configure it.
$ cd ~/.weechat/ruby
$ wget [main script file].rb
in WeeChat:
/script load ytautoexpand.rb
and it should work.