> [!TIP]
> To add Scrapy settings to a project, define them in your [Scrapy
> Cloud project settings](https://support.zyte.com/support/solutions/articles/22000200670-customizing-scrapy-settings-in-scrapy-cloud)
> or add them to your `settings.py` file.
> 
> settings.py
> ```python
> MY_SETTING = ...
> ```
> 
> To add settings to a spider, define them in your Scrapy Cloud
> spider-specific settings (open a spider in Scrapy Cloud and select the
> **Settings** tab) or add it to your spider code with the [update_settings](https://docs.scrapy.org/en/latest/topics/spiders.html#scrapy.Spider.update_settings)
> method or the [custom_settings](https://docs.scrapy.org/en/latest/topics/spiders.html#scrapy.Spider.custom_settings) class variable:
> 
> spiders/myspider.py
> ```python
> class MySpider:
>     custom_settings = {
>         "MY_SETTING": ...,
>     }
> ```
