how to give password Wifi shield (ap)

howdy all,
how do I give Security password to wifly Acces Point(AP).
For example: Security WPA or WEP.
I use wifly RN-171

Sory, my english language is bad :smiley:

Thanks