> ## 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 W&B Sweeps with SageMaker?

You can use W\&B Sweeps with Amazon SageMaker to run hyperparameter searches on SageMaker training jobs. To authenticate W\&B when you use a built-in Amazon SageMaker estimator, create a `requirements.txt` file. For details on how to authenticate and set up the `requirements.txt` file, refer to the [SageMaker integration](/models/integrations/sagemaker) guide.

<Note>
  Find a complete example on [GitHub](https://github.com/wandb/examples/tree/master/examples/pytorch/pytorch-cifar10-sagemaker) and more details on the [W\&B blog](https://wandb.ai/site/articles/running-sweeps-with-sagemaker).\
  Access the [Deploy Sentiment Analyzer Using SageMaker and W\&B tutorial](https://wandb.ai/authors/sagemaker/reports/Deploy-Sentiment-Analyzer-Using-SageMaker-and-W-B--VmlldzoxODA1ODE) to deploy a sentiment analyzer with SageMaker and W\&B.
</Note>

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/support/models/tags/sweeps)</Badge><Badge stroke shape="pill" color="orange" size="md">[AWS](/support/models/tags/aws)</Badge>
