 The next thing we're going to do is set up webhooks and weights and biases. Now, just to remind you, there's this readme with the GitHub project that I shared, the 1DB modal webhook. And the readme describes all of the steps I'm going through right now. So if you get lost at any point or want to refer to a written version of this tutorial, you can reference the readme. So to set up webhooks, you want to go to your team's page. So the name of my team is reviewco and you're going to want to set up a couple of things. So first you're going to want to send up a secret. I already have the secret here but basically what you do is you click on this. It'll ask you to create a new secret. The name of the secret is auth token. And then the secret itself is described here as secret random token. So you would just type that in. You would type in secret random token so you would just type that in you would type in secret random token you can reveal the secret to make sure that you spelled it right look i even spelled it wrong so it's a good idea to check but and then you can add the secret i've already added it we can see that here um and you know i can just make sure again by going back to the readme and just copy-pasting it just because I'm paranoid. So I'm just going to go back and just going to update that. And then what we want to do is create a webhook. Now, I've already created the webhook, but I'm going to go ahead and delete it and recreate it, so you can see the whole process from scratch. What you're going to do is you want to create a new webhook. Now, you will probably not have any webhooks. You're going to hit new webhook, and you can name it whatever you want. I'm going to call it modal webhook test. And then the URL is you want to enter the URL endpoint for the webhook. Now, if you recall, going back to my terminal, when you launched the modal app, you got these two different URLs. The one that ends in.run is the endpoint. So you want to copy that and paste it here. Now, you can also get this URL from your modal dashboard. You can go in here, you can go into apps and you can see the endpoint right here if you want. Going back to weights and biases, you got the URL here. Now what we want to do is you have access token and a secret. This is a little bit tricky. I get mixed up on this too. And for this exercise, just go down here. It'll tell you what to do. You're going to want to set the access token. And you're going to want to select auth token. So that's what we'll do we'll go back and we'll select we'll make this auth token and then we'll say great it will say create webhook and now we have created this webhook and now we are ready to wire up the automation
Webhooks in Weights & Biases
Now that we have a server set up, lets hook it up to our Weights & Biases platform. 

Resources: 
W&B Modal Web Hooks repo - code for this lesson: https://github.com/hamelsmu/wandb-modal-webhook/tree/62c91b055a343f802410ee328e6d70ec602c
W&B configuring a webhook docs:
https://docs.wandb.ai/guides/model_registry/model-management-concepts?utm_source=courses&utm_medium=courses&utm_campaign=emm#registered-model