Inserting user data through Javascript

Hi I’m completely new to Intercom and having been exploring docs for a while. I’m confused how should insert user data through Javascrip Rest Api I came across intercom-react and node-intercom but I’m looking for an example in order to do so, and also tell me whether I would need to create columns in Intercom.

Thanks in advance.