# \[Archive\] How to get provider in react native

**URL:** <https://builder.metamask.io/t/archive-how-to-get-provider-in-react-native/2475>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [August 17, 2022, 8:13pm UTC](https://builder.metamask.io/t/archive-how-to-get-provider-in-react-native/2475 "2022-08-17T20:13:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [August 17, 2022, 8:13pm UTC](https://builder.metamask.io/t/archive-how-to-get-provider-in-react-native/2475/1 "2022-08-17T20:13:52Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **githubdiscussions** on 8/18/2022.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

I implemented the login flow and also getting the desired fields in response but how can i sign the messages and get provider in react native

  
   
 Originally posted by: [Haris565](https://github.com/Haris565)  
   
 Check the discussion at: [https://github.com/orgs/Web3Auth/discussions/425](https://github.com/orgs/Web3Auth/discussions/425)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)\
**Post date:** [August 18, 2022, 8:13am UTC](https://builder.metamask.io/t/archive-how-to-get-provider-in-react-native/2475/2 "2022-08-18T08:13:00Z")

</div>

Hi there, currently none of the mobile SDKs return a provider (unlike the web sdks which can be referenced [here](https://web3auth.io/docs/sdk/web/providers))

So what you will have to do is to use the private key directly to interact with the specific blockchain. The private key is returned in the [sample response](https://web3auth.io/docs/sdk/react-native/usage#sample-response)

  
   
 Originally posted by: [BboyStatix](https://github.com/BboyStatix)
