How to connect wallet generated from ethersJS library with Moralis?

I have a randomly generated Wallet from EthersJS Library, I want to authenticate the same wallet with moralis in a Dapp, how can I do that?, Tried custom connector but was not able to do with it.

You want to do that programmatically in backend?
You have to sign a specific message.

Can you give more info?

In Frontend itself, So how can I connect this ethersJS generated wallet to Moralis programatically in ReactJS.

I don’t understand how that works, you will need a way to sign a message with that private key

I can integrate wallet connect connector which does all kinds of standard transactions like sendTransaction eth sign personal sign…