First, you need to get your api key and authToken from the authorization server. Then, to render the whole social kit
function MyApp() {
return (
);
}
also let me know that, will this UI kit work for typescript or is it just for javascript
Hi @salman23 ,
I noticed you’ve provided some insights in your post or is there a specific question you’d like to ask?
And is this the code you’re inquiring about - it didn’t seem to show up fully in your post
function MyApp() {
return (
<AmityUiKitProvider
apiKey={...}
authToken={...}
userId="myUserId"
displayName="myUserName"
>
<AmityUiKitSocial />
</AmityUiKitProvider>
);
}
Thank you,
Amity Support
where will I find the authToken that I’ve to pass as a prop in AmityKitProvider.
@salman23 To get auth token please find Security - Amity Docs