# EIF Week 5
- Mid-check-in done
- [Slides](https://www.canva.com/design/DAFcbnAlcBw/RZpZO05LitH1R289Hh7tyw/view?utm_content=DAFcbnAlcBw&utm_campaign=designshare&utm_medium=link&utm_source=publishsharelink)
- RugProof snap package is now published on [npm](https://www.npmjs.com/package/rugproof-snap)
To prompt user to install metamask flask use the following code:
```jsx=
<Link href="https://metamask.io/flask/" target="_blank">
<FlaskFox /> // Metamask Flask Icon (can be ignored)
<ButtonText>Install MetaMask Flask</ButtonText>
</Link>
```
To add the install button in your dApp use the following code:
```ts=
export const connectSnap = async (
snapId: string = "npm:rugproof-snap",
params: Record<'version' | string, unknown> = {},
) => {
await window.ethereum.request({
method: 'wallet_requestSnaps',
params: {
[snapId]: params,
},
});
};
```
> **Note**: Snap needs to be installed on every update as of now, there is no self update mechanism. Currently, I am making changes everyday so don't expect to have everything working 😅
You can also check the live demo [here](https://rugproof-snap-site.vercel.app/).