# \[AMPL 24715\] AMPL license on google Colab

**URL:** <https://discuss.ampl.com/t/ampl-24715-ampl-license-on-google-colab/653>\
**Category:** Google Group Mirror\
**Created:** [July 20, 2023, 4:59pm UTC](https://discuss.ampl.com/t/ampl-24715-ampl-license-on-google-colab/653 "2023-07-20T16:59:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmorill](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/dmorill/32/901_2.png) [@dmorill](https://discuss.ampl.com/u/dmorill)\
**Post date:** [July 20, 2023, 4:59pm UTC](https://discuss.ampl.com/t/ampl-24715-ampl-license-on-google-colab/653/1 "2023-07-20T16:59:53Z")

</div>

Hi team,

I have a valid license of AMPL with Cplex and Gurobi, how could I put this license in a google colab?

I supposed that is in this line:

from amplpy import AMPL, tools  
ampl = tools.ampl\_notebook(  
modules=[“cplex”], # modules to install  
license\_uuid=“default”) # license to use

Could you help me please?

Regards,

---

<div class="post-metadata">

**Author:** ![AMPL\_Google\_Group](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@AMPL\_Google\_Group](https://discuss.ampl.com/u/AMPL_Google_Group)\
**Post date:** [July 20, 2023, 5:22pm UTC](https://discuss.ampl.com/t/ampl-24715-ampl-license-on-google-colab/653/2 "2023-07-20T17:22:08Z")

</div>

Hi Daniel,

Do you have a static license for local machines or a dynamic license that can be moved and works in the cloud? If you have a dynamic license you can just replace “default” by your license UUID. If not, please email [licensing@ampl.com](mailto:licensing@ampl.com) and ask if the license you have can be converted into a dynamic license.
