> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I use the resume parameter when resuming a run in W&B?

To use the `resume` parameter in W\&B, set the `resume` argument in `wandb.init()` with `entity`, `project`, and `id` specified. The `resume` argument accepts `"must"` or `"allow"`.

```python theme={null}
run = wandb.init(entity="your-entity", project="your-project", id="your-run-id", resume="must")
```

***

<Badge stroke shape="pill" color="orange" size="md">[Resuming](/support/models/tags/resuming)</Badge>
