In the top menu, tap your profile icon, then tap Settings and privacy.
Tap Privacy and safety.
Under Discoverability and contacts, tap Discoverability and contacts.
Tap Sync address book contacts. When you sync your contacts, contacts from your device’s address book will be uploaded to X on an ongoing basis.
The accounts of contacts from your address book who are already on X will be shown.