How to make my Polycom IP 331 phones get the directory that I've created on FreePBX extensions?

There are quite a few ways to do this, many of them documented here in the forum.
@PitzKey did some work on this just a few months ago, IIRC. Polycom IP6000 Enable directory (contacts) might be a good starting point.