# Custom creation templates

**URL:** <https://forum.serverless.com/t/custom-creation-templates/2828>\
**Category:** Serverless Framework\
**Created:** [October 5, 2017, 12:33pm UTC](https://forum.serverless.com/t/custom-creation-templates/2828 "2017-10-05T12:33:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wnofer](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@wnofer](https://forum.serverless.com/u/wnofer)\
**Post date:** [October 5, 2017, 12:33pm UTC](https://forum.serverless.com/t/custom-creation-templates/2828/1 "2017-10-05T12:33:04Z")

</div>

Hello,

I am looking for information to create custom templates. I currently use the aws-java-maven template but I would like to extend that so I can have all of the dependencies and settings already setup for our development team. Can someone point me in the right direction?

Thank you,

Bill

---

<div class="post-metadata">

**Author:** ![alexdebrie1](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/alexdebrie1/32/899_2.png) [@alexdebrie1](https://forum.serverless.com/u/alexdebrie1)\
**Post date:** [October 5, 2017, 12:59pm UTC](https://forum.serverless.com/t/custom-creation-templates/2828/2 "2017-10-05T12:59:24Z")

</div>

Hi @wnofer! You can use the `sls install` command for this. It takes in the URL of a GitHub repo as an argument. It will use the zip from that repo as a template to start a new project.

E.g.:

```bash
$ sls install -url https://github.com/wnofer/my-maven-template --name my-new-service

```

Links:

- [Documentation for sls install](https://serverless.com/framework/docs/providers/aws/cli-reference/install/)

---

<div class="post-metadata">

**Author:** ![wnofer](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@wnofer](https://forum.serverless.com/u/wnofer)\
**Post date:** [October 5, 2017, 1:14pm UTC](https://forum.serverless.com/t/custom-creation-templates/2828/3 "2017-10-05T13:14:30Z")

</div>

Perfect! Thank you for your fast response

---

<div class="post-metadata">

**Author:** ![wnofer](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@wnofer](https://forum.serverless.com/u/wnofer)\
**Post date:** [October 5, 2017, 2:56pm UTC](https://forum.serverless.com/t/custom-creation-templates/2828/4 "2017-10-05T14:56:44Z")

</div>

Alex,

We host our own private GitLab server. Is there a way to use GitLab instead of GitHub? I currently get the folloing response when trying a repro from our server:

 ![clip](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/e/e06cace3605279432c0f53336f1fad6791100477.png)

Thanks for the help

---

<div class="post-metadata">

**Author:** ![alexdebrie1](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/alexdebrie1/32/899_2.png) [@alexdebrie1](https://forum.serverless.com/u/alexdebrie1)\
**Post date:** [October 6, 2017, 2:50pm UTC](https://forum.serverless.com/t/custom-creation-templates/2828/5 "2017-10-06T14:50:00Z")

</div>

@wnofer Right now, it’s tied to Github. There is a PR in progress that will update the `sls create` command to take in a URL as well. That only supports GitHub or Bitbucket, but I think we could add GitLab fairly easily.

PR: [https://github.com/serverless/serverless/pull/4133](https://github.com/serverless/serverless/pull/4133)

---

<div class="post-metadata">

**Author:** ![garethmcc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/garethmcc/32/2276_2.png) [@garethmcc](https://forum.serverless.com/u/garethmcc)\
**Post date:** [July 24, 2018, 7:46am UTC](https://forum.serverless.com/t/custom-creation-templates/2828/6 "2018-07-24T07:46:27Z")

</div>

Has this PR not yet been merged? I can’t seem to install from BitBucket and the documentation does not reflect that its possible either.
