To add a WikiTree ID to Wikidata, go to the Wikidata page, scroll to the bottom of the Identifiers section and click "add statement." A box will pop up and you type in WikiTree ID (it should come up as an option when you start typing and you can select it) and then enter the ID in the field immediately o the right. Once you have entered the ID click "publish."