How do I get the ethers.js provider in Moralis V2?

In version 1, you could get the ethers.js provider as per the v1 docs here:

// Get a (ethers.js) web3Provider
const web3Provider = await Moralis.enableWeb3();

But how do I do this in V2? I can’t find anywhere where you can do this in the docs

I need this because we need to support multiple providers (i.e. Alchemy too) and need to extract the ethers.js provider/signer.

Many thanks

you can import ethers directly in backend

@cryptokid sorry if this sounds stupid or trivial but it’s not clear from your comment what to do. Could you please provide a code snippet on how exactly to do this in V2?

For more context, another example in V1 (according to V1 docs):

const web3Provider = await Moralis.enableWeb3(); // Get ethers.js web3Provider // - How is this done in V2??
const gasPrice = await web3Provider.getGasPrice();

const signer = web3Provider.getSigner();

// wMATIC token on Mumbai
const contract = new ethers.Contract('0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889', ABI, signer);
...

What I need is to get the Moralis ethers.js provider, because we use multiple providers and ethers.js elsewhere to interact with contracts.

If you could please provide a code snippet, that would be awesome!

Many thanks