Interact between 2 Arduino BT

Hello,
I wonder if 2 to interact Arduino BT, it is necessary to pair or connect them with a piece of code.
Thank you.